[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:
parent
0e7b8dcd16
commit
8082c37cdc
2 changed files with 1 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue