Re: [PATCH] Fix compile warning in drivers/pnp/resource.c with !CONFIG_PCI

2005-03-21 Thread Andrew Morton
Mika Kukkonen <[EMAIL PROTECTED]> wrote: > > > With !CONFIG_PCI I get following warning: > >CC drivers/pnp/resource.o > drivers/pnp/resource.c:24: warning: `pnp_skip_pci_scan' defined but not used > > Two ways to fix this, first one would be to simply #ifdef the > variable. But the

[PATCH] Fix compile warning in drivers/pnp/resource.c with !CONFIG_PCI

2005-03-21 Thread Mika Kukkonen
With !CONFIG_PCI I get following warning: CC drivers/pnp/resource.o drivers/pnp/resource.c:24: warning: `pnp_skip_pci_scan' defined but not used Two ways to fix this, first one would be to simply #ifdef the variable. But the variable in question is not (according to cscope) actually used o