From 106fedb646a1c13fe92210c65c5d91478e155783 Mon Sep 17 00:00:00 2001 From: Marc Fiuczynski Date: Fri, 29 Jun 2007 00:57:43 +0000 Subject: [PATCH] clean up struct definitions to be identical to orig FC+VS codebase now that we do not use VNET anymore --- net/packet/af_packet.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index da7672acd..a6fa48788 100644 --- 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; @@ -1854,8 +1853,7 @@ static const struct proto_ops packet_ops_spkt = { }; #endif -static const -struct proto_ops packet_ops = { +static const struct proto_ops packet_ops = { .family = PF_PACKET, .owner = THIS_MODULE, .release = packet_release, @@ -1876,8 +1874,7 @@ struct proto_ops packet_ops = { .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, -- 2.47.0