neigh: Kill neigh_ops->hh_output

It's always dev_queue_xmit().

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller
2011-07-16 17:39:57 -07:00
parent 0895b08ade
commit 47ec132a40
6 changed files with 2 additions and 14 deletions

View File

@@ -746,7 +746,7 @@ static void neigh_connect(struct neighbour *neigh)
hh = &neigh->hh;
if (hh->hh_len)
hh->hh_output = neigh->ops->hh_output;
hh->hh_output = dev_queue_xmit;
}
static void neigh_periodic_work(struct work_struct *work)
@@ -1222,7 +1222,7 @@ static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst)
goto end;
if (n->nud_state & NUD_CONNECTED)
hh->hh_output = n->ops->hh_output;
hh->hh_output = dev_queue_xmit;
else
hh->hh_output = n->ops->output;