summaryrefslogtreecommitdiffstats
path: root/include/net/neighbour.h
diff options
context:
space:
mode:
authorRami Rosen2007-12-31 08:25:31 +0100
committerDavid S. Miller2008-01-29 00:00:17 +0100
commitf624357959001c9156ee7a475283fc6041f78e0e (patch)
treed0dcc8337a5e5b5d257e69f71d41e656c6683f25 /include/net/neighbour.h
parent[IPV4]: Remove unused define in include/net/arp.h (HAVE_ARP_CREATE) (diff)
downloadkernel-qcow2-linux-f624357959001c9156ee7a475283fc6041f78e0e.tar.gz
kernel-qcow2-linux-f624357959001c9156ee7a475283fc6041f78e0e.tar.xz
kernel-qcow2-linux-f624357959001c9156ee7a475283fc6041f78e0e.zip
[NEIGH]: Remove unused method from include/net/neighbour.h
Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/neighbour.h')
-rw-r--r--include/net/neighbour.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 11590f23d99d..a9dda2908211 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -292,10 +292,6 @@ static inline int neigh_is_connected(struct neighbour *neigh)
return neigh->nud_state&NUD_CONNECTED;
}
-static inline int neigh_is_valid(struct neighbour *neigh)
-{
- return neigh->nud_state&NUD_VALID;
-}
static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb)
{