[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>
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user