net: Remove protocol from struct dst_ops
After my change to neigh_hh_init to obtain the protocol from the neigh_table there are no more users of protocol in struct dst_ops. Remove the protocol field from dst_ops and all of it's initializers. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
13259db53f
commit
ddb3b6033c
@@ -136,7 +136,6 @@ int decnet_dst_gc_interval = 2;
|
||||
|
||||
static struct dst_ops dn_dst_ops = {
|
||||
.family = PF_DECnet,
|
||||
.protocol = cpu_to_be16(ETH_P_DNA_RT),
|
||||
.gc_thresh = 128,
|
||||
.gc = dn_dst_gc,
|
||||
.check = dn_dst_check,
|
||||
|
||||
Reference in New Issue
Block a user