Skip to content

Commit

Permalink
6lowpan: nuke net_ieee802154_lowpan() accessor when 6lowpan is disabled
Browse files Browse the repository at this point in the history
Johannes noted this is not needed, all of the fragment
accessors don't need CONFIG_NET_NS. This goes test compiled with
CONFIG_BT_6LOWPAN=y and a disabled CONFIG_NET_NS.

CC: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Cc: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Cc: linux-zigbee-devel@lists.sourceforge.net
Cc: David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Luis R. Rodriguez <mcgrof@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Luis R. Rodriguez authored and David S. Miller committed Apr 24, 2014
1 parent 573be69 commit 7e65eac
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/net/net_namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 7e65eac

Please sign in to comment.