Эх сурвалжийг харах

[NET]: drop unused elements from net_proto_family

Three values in net_proto_family are defined but never used.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stephen Hemminger 19 жил өмнө
parent
commit
757dbb494b
1 өөрчлөгдсөн 0 нэмэгдсэн , 5 устгасан
  1. 0 5
      include/linux/net.h

+ 0 - 5
include/linux/net.h

@@ -169,11 +169,6 @@ struct proto_ops {
 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;
 };