aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cxgb3/l2t.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-04 00:55:03 -0500
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2008-03-04 01:18:23 -0500
commit8082c37cdc31fb0ed178d9d706bf7568ada0edd9 (patch)
treec17ec16dba86b96e53bfe23bd84114a7f963a7da /drivers/net/cxgb3/l2t.c
parent0e7b8dcd16eb91b9cd8ecc07c4094512f20d7e3c (diff)
[NET] NEIGHBOUR: Remove unpopular neigh_is_connected().
neigh_is_connected() is not popular at all, and the only user drivers/net/cxgb3/l2t.c:t3_l2t_update() also have raw (expanded) expression. Let's expand it and remove the inline function. Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'drivers/net/cxgb3/l2t.c')
-rw-r--r--drivers/net/cxgb3/l2t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/l2t.c b/drivers/net/cxgb3/l2t.c
index 865faee53e1..f510140885a 100644
--- a/drivers/net/cxgb3/l2t.c
+++ b/drivers/net/cxgb3/l2t.c
@@ -407,7 +407,7 @@ found:
407 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE)) 407 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE))
408 setup_l2e_send_pending(dev, NULL, e); 408 setup_l2e_send_pending(dev, NULL, e);
409 } else { 409 } else {
410 e->state = neigh_is_connected(neigh) ? 410 e->state = neigh->nud_state & NUD_CONNECTED ?
411 L2T_STATE_VALID : L2T_STATE_STALE; 411 L2T_STATE_VALID : L2T_STATE_STALE;
412 if (memcmp(e->dmac, neigh->ha, 6)) 412 if (memcmp(e->dmac, neigh->ha, 6))
413 setup_l2e_send_pending(dev, NULL, e); 413 setup_l2e_send_pending(dev, NULL, e);