Subject: [PATCH 3/5] net: drop unused elements from net_proto_family

From: Stephen Hemminger <[email-masked]>
Date: Wed, 09 Aug 2006 11:31:41 -0700

Three values in net_proto_family are defined but never used.

Signed-off-by: Stephen Hemminger <[email-masked]>

--- net-2.6.orig/include/linux/net.h	2006-08-09 11:14:51.000000000 -0700
+++ net-2.6/include/linux/net.h	2006-08-09 11:19:19.000000000 -0700
@@ -169,11 +169,6 @@
 struct net_proto_family {
 	int		family;
 	int		(*create)(struct socket *sock, int protocol);
-	/* These are counters for the number of different methods of
-	   each we support */
-	short		authentication;
-	short		encryption;
-	short		encrypt_net;
 	struct module	*owner;
 };

--