mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]>
This commit is contained in:
parent
47ec132a40
commit
b23b5455b6
4 changed files with 7 additions and 29 deletions
|
|
@ -427,9 +427,9 @@ static int rt_cache_seq_show(struct seq_file *seq, void *v)
|
|||
dst_metric(&r->dst, RTAX_RTTVAR)),
|
||||
r->rt_key_tos,
|
||||
-1,
|
||||
(r->dst.neighbour ?
|
||||
(r->dst.neighbour->hh.hh_output ==
|
||||
dev_queue_xmit) : 0),
|
||||
(r->dst.neighbour &&
|
||||
(r->dst.neighbour->nud_state & NUD_CONNECTED)) ?
|
||||
1 : 0,
|
||||
r->rt_spec_dst, &len);
|
||||
|
||||
seq_printf(seq, "%*s\n", 127 - len, "");
|
||||
|
|
|
|||
Loading…
Reference in a new issue