Re: [PATCH net-next 4/4] wireless: Convert wiphy_debug macro tofunction

From: John W. Linville
Date: Tue Jul 27 2010 - 15:00:20 EST


On Tue, Jul 27, 2010 at 11:34:25AM -0700, Joe Perches wrote:
> On Tue, 2010-07-27 at 14:05 -0400, John W. Linville wrote:
> > > --- a/net/wireless/core.c
> > > +++ b/net/wireless/core.c
> > > @@ -907,3 +907,56 @@ static void __exit cfg80211_exit(void)
> > > destroy_workqueue(cfg80211_wq);
> > > }
> > > module_exit(cfg80211_exit);
> > > +
> > > +#ifdef __KERNEL__
> >
> > Do we need this part?
>
> No, not really.
>
> I'm not too sure about the need for the added
> cfg80211.h #ifdef __KERNEL__ either.

Good point -- I'll remove both of them.

John
--
John W. Linville Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx might be all we have. Be ready.
--
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/