You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
neighbour: Remove unused inline function neigh_key_eq16()
commitc8f01a4a54upstream. All uses of neigh_key_eq16() have been removed since commit1202cdd665("Remove DECnet support from kernel"), so remove it. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7230a9e599
commit
53076071fb
@@ -260,11 +260,6 @@ static inline void *neighbour_priv(const struct neighbour *n)
|
||||
|
||||
extern const struct nla_policy nda_policy[];
|
||||
|
||||
static inline bool neigh_key_eq16(const struct neighbour *n, const void *pkey)
|
||||
{
|
||||
return *(const u16 *)n->primary_key == *(const u16 *)pkey;
|
||||
}
|
||||
|
||||
static inline bool neigh_key_eq32(const struct neighbour *n, const void *pkey)
|
||||
{
|
||||
return *(const u32 *)n->primary_key == *(const u32 *)pkey;
|
||||
|
||||
Reference in New Issue
Block a user