pnpbios: fix warning if CONFIG_HOTPLUG=n
authorErik Ekman <erik@kryo.se>
Thu, 2 Apr 2009 23:57:08 +0000 (16:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:04:52 +0000 (19:04 -0700)
commit8c655918b15691d3a97f4e9a7c3c0a6ac992e297
treeee6f47740938ffc21174728b656f17871b67a173
parentbfb9bcdbda9a61bca469bf899a589918c60c4c18
pnpbios: fix warning if CONFIG_HOTPLUG=n

drivers/pnp/pnpbios/core.c: In function 'pnpbios_thread_init':
drivers/pnp/pnpbios/core.c:578: warning: unused variable 'task'

Signed-off-by: Erik Ekman <erik@kryo.se>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pnp/pnpbios/core.c