提交 757dbb49 编写于 作者: S Stephen Hemminger 提交者: David S. Miller

[NET]: drop unused elements from net_proto_family

Three values in net_proto_family are defined but never used.
Signed-off-by: NStephen Hemminger <shemminger@osdl.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 89bddce5
...@@ -169,11 +169,6 @@ struct proto_ops { ...@@ -169,11 +169,6 @@ struct proto_ops {
struct net_proto_family { struct net_proto_family {
int family; int family;
int (*create)(struct socket *sock, int protocol); 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; struct module *owner;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册