> >Looking a bit closer the above is rubbish. >We have: >#if defined(MODULE) || defined(CONFIG_HOTPLUG) >#define __devexit_p(x) x >#else >#define __devexit_p(x) NULL > >so the pointer to the function is used in >both cases. I think in the latter case, 'x' is not used, just as gcc told me. ;) > >Could you drop me the config that produces the warning >and the warning message. > Of course. Attached. Regards.