Re: [PATCH 1/3] 6lowpan: add helper to get 6lowpan namespace

From: Alexander Aring
Date: Tue Apr 22 2014 - 05:53:19 EST


Hi,

On Tue, Apr 22, 2014 at 11:44:46AM +0200, Johannes Berg wrote:
> On Thu, 2014-04-17 at 18:22 -0700, Luis R. Rodriguez wrote:
>
> > +#if IS_ENABLED(CONFIG_IEEE802154_6LOWPAN)
> > [...]
> > +#else
> > +static inline struct netns_ieee802154_lowpan *
> > +net_ieee802154_lowpan(struct net *net)
> > +{
> > + return NULL;
> > +}
> > +#endif
>
> Why would that be needed? If nobody compiles 802.15.4 then it seems
> nothing should reference it?
>
Indeed I think this is unnecessary, also.

- Alex
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/