Re: clean some unneeded #ifdef MODULE
- Date: Fri, 31 May 2019 18:15:24 +0300
- From: James Bottomley <jejb@xxxxxxxxxxxxx>
- Subject: Re: clean some unneeded #ifdef MODULE
On Fri, 2019-05-31 at 17:09 +0200, Enrico Weigelt, metux IT consult
> Hi folks,
> here're some patches that clean up uncessary cases of #ifdef MODULE.
> These ifdef's just exlude MODULE_DEVICE_TABLE's when the kernel is
> built w/o module support. As MODULE_DEVICE_TABLE() macro already
> checks for that, these extra #ifdef's shouldn't be necessary.
Isn't the problem the #ifdefs are trying to solve a complaint about an
unused variable in the non-module case? if so, is that fixed some other