diff mbox series

[net-next] ila: remove unused inline function ila_addr_is_ila

Message ID 20200429132530.6172-1-yuehaibing@huawei.com
State Accepted
Delegated to: David Miller
Headers show
Series [net-next] ila: remove unused inline function ila_addr_is_ila | expand

Commit Message

Yue Haibing April 29, 2020, 1:25 p.m. UTC
There's no callers in-tree anymore since commit 84287bb32856 ("ila: add
checksum neutral map auto").

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
 net/ipv6/ila/ila.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

David Miller April 29, 2020, 7:02 p.m. UTC | #1
From: YueHaibing <yuehaibing@huawei.com>
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 <yuehaibing@huawei.com>

Applied.
diff mbox series

Patch

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;