[PATCH net-next] ila: remove unused inline function ila_addr_is_ila
From: YueHaibing
Date: Wed Apr 29 2020 - 09:25:43 EST
There's no callers in-tree anymore since commit 84287bb32856 ("ila: add
checksum neutral map auto").
Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
---
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