neigh: Kill hh_cache->hh_output
It's just taking on one of two possible values, either neigh_ops->output or dev_queue_xmit(). And this is purely depending upon whether nud_state has NUD_CONNECTED set or not. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
47ec132a40
commit
b23b5455b6
4 changed files with 7 additions and 29 deletions
|
|
@ -254,7 +254,6 @@ struct netdev_hw_addr_list {
|
|||
struct hh_cache {
|
||||
u16 hh_len;
|
||||
u16 __pad;
|
||||
int (*hh_output)(struct sk_buff *skb);
|
||||
seqlock_t hh_lock;
|
||||
|
||||
/* cached hardware header; allow for machine alignment needs. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue