diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2015-03-09 13:14:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-09 16:06:10 -0400 |
commit | ddb3b6033ca68d71a5f0611b58b2642729342245 (patch) | |
tree | 73f04d0f75a1ee417b80a7c3dd4b2f76096b1d09 /net/bridge | |
parent | 13259db53ff42c9033d749e01e7d6d3c4859dfd9 (diff) | |
download | blackbird-op-linux-ddb3b6033ca68d71a5f0611b58b2642729342245.tar.gz blackbird-op-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/bridge')
-rw-r--r-- | net/bridge/br_nf_core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_nf_core.c b/net/bridge/br_nf_core.c index 387cb3bd017c..20cbb727df4d 100644 --- a/net/bridge/br_nf_core.c +++ b/net/bridge/br_nf_core.c @@ -54,7 +54,6 @@ static unsigned int fake_mtu(const struct dst_entry *dst) static struct dst_ops fake_dst_ops = { .family = AF_INET, - .protocol = cpu_to_be16(ETH_P_IP), .update_pmtu = fake_update_pmtu, .redirect = fake_redirect, .cow_metrics = fake_cow_metrics, |