2020-04-29 13:27:57

by Yue Haibing

[permalink] [raw]
Subject: [PATCH net-next] ila: remove unused inline function ila_addr_is_ila

There's no callers in-tree anymore since commit 84287bb32856 ("ila: add
checksum neutral map auto").

Signed-off-by: YueHaibing <[email protected]>
---
net/ipv6/ila/ila.h | 5 -----
1 file changed, 5 deletions(-)

diff --git a/net/ipv6/ila/ila.h b/net/ipv6/ila/ila.h
index bb6fc0d54dae..ad5f6f6ba333 100644
--- a/net/ipv6/ila/ila.h
+++ b/net/ipv6/ila/ila.h
@@ -68,11 +68,6 @@ static inline struct ila_addr *ila_a2i(struct in6_addr *addr)
return (struct ila_addr *)addr;
}

-static inline bool ila_addr_is_ila(struct ila_addr *iaddr)
-{
- return (iaddr->ident.type != ILA_ATYPE_IID);
-}
-
struct ila_params {
struct ila_locator locator;
struct ila_locator locator_match;
--
2.17.1



2020-04-29 19:06:13

by David Miller

[permalink] [raw]
Subject: Re: [PATCH net-next] ila: remove unused inline function ila_addr_is_ila

From: YueHaibing <[email protected]>
Date: Wed, 29 Apr 2020 21:25:30 +0800

> There's no callers in-tree anymore since commit 84287bb32856 ("ila: add
> checksum neutral map auto").
>
> Signed-off-by: YueHaibing <[email protected]>

Applied.