diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h index bc4118ede5b56d9a115caca01c211a3b94b7c8e2..361d26077196678af5bd7ce217715a2cc847f2af 100644 --- a/include/net/net_namespace.h +++ b/include/net/net_namespace.h @@ -379,15 +379,8 @@ net_ieee802154_lowpan(struct net *net) { return &net->ieee802154_lowpan; } -#else -static inline struct netns_ieee802154_lowpan * -net_ieee802154_lowpan(struct net *net) -{ - return NULL; -} #endif - /* For callers who don't really care about whether it's IPv4 or IPv6 */ static inline void rt_genid_bump_all(struct net *net) {