diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-03-09 19:14:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-09 21:06:10 +0100 |
commit | ddb3b6033ca68d71a5f0611b58b2642729342245 (patch) | |
tree | 73f04d0f75a1ee417b80a7c3dd4b2f76096b1d09 /net/decnet/dn_route.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsh... (diff) | |
download | linux-ddb3b6033ca68d71a5f0611b58b2642729342245.tar.xz linux-ddb3b6033ca68d71a5f0611b58b2642729342245.zip |
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>
Diffstat (limited to 'net/decnet/dn_route.c')
-rw-r--r-- | net/decnet/dn_route.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 771815575dbd..9ab0c4ba297f 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c @@ -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, |