git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clean up struct definitions to be identical to orig FC+VS codebase now that we do...
[linux-2.6.git]
/
net
/
packet
/
af_packet.c
diff --git
a/net/packet/af_packet.c
b/net/packet/af_packet.c
index
da7672a
..
a6fa487
100644
(file)
--- a/
net/packet/af_packet.c
+++ b/
net/packet/af_packet.c
@@
-264,8
+264,7
@@
static void packet_sock_destruct(struct sock *sk)
}
}
-static const
-struct proto_ops packet_ops;
+static const struct proto_ops packet_ops;
#ifdef CONFIG_SOCK_PACKET
static const struct proto_ops packet_ops_spkt;
#ifdef CONFIG_SOCK_PACKET
static const struct proto_ops packet_ops_spkt;
@@
-1854,8
+1853,7
@@
static const struct proto_ops packet_ops_spkt = {
};
#endif
};
#endif
-static const
-struct proto_ops packet_ops = {
+static const struct proto_ops packet_ops = {
.family = PF_PACKET,
.owner = THIS_MODULE,
.release = packet_release,
.family = PF_PACKET,
.owner = THIS_MODULE,
.release = packet_release,
@@
-1876,8
+1874,7
@@
struct proto_ops packet_ops = {
.sendpage = sock_no_sendpage,
};
.sendpage = sock_no_sendpage,
};
-static
-struct net_proto_family packet_family_ops = {
+static struct net_proto_family packet_family_ops = {
.family = PF_PACKET,
.create = packet_create,
.owner = THIS_MODULE,
.family = PF_PACKET,
.create = packet_create,
.owner = THIS_MODULE,