diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-04 05:55:03 (GMT) |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-03-04 06:18:23 (GMT) |
commit | 8082c37cdc31fb0ed178d9d706bf7568ada0edd9 (patch) | |
tree | c17ec16dba86b96e53bfe23bd84114a7f963a7da /include/net/neighbour.h | |
parent | 0e7b8dcd16eb91b9cd8ecc07c4094512f20d7e3c (diff) | |
download | linux-8082c37cdc31fb0ed178d9d706bf7568ada0edd9.tar.xz |
[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 'include/net/neighbour.h')
-rw-r--r-- | include/net/neighbour.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h index ebbfb50..0622818 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h @@ -284,12 +284,6 @@ static inline void neigh_confirm(struct neighbour *neigh) neigh->confirmed = jiffies; } -static inline int neigh_is_connected(struct neighbour *neigh) -{ - return neigh->nud_state&NUD_CONNECTED; -} - - static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) { neigh->used = jiffies; |