hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/net/ipv6/ila/ila.h
....@@ -1,11 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (c) 2015 Tom Herbert <tom@herbertland.com>
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License as
6
- * published by the Free Software Foundation; either version 2 of
7
- * the License, or (at your option) any later version.
8
- *
94 */
105
116 #ifndef __ILA_H
....@@ -71,11 +66,6 @@
7166 static inline struct ila_addr *ila_a2i(struct in6_addr *addr)
7267 {
7368 return (struct ila_addr *)addr;
74
-}
75
-
76
-static inline bool ila_addr_is_ila(struct ila_addr *iaddr)
77
-{
78
- return (iaddr->ident.type != ILA_ATYPE_IID);
7969 }
8070
8171 struct ila_params {