summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorSatyam Sharma <satyam@infradead.org>2007-10-17 08:29:39 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:56 +0200
commitc98673fee235c158bef237a7851c742976d66284 (patch)
treec8464820311ed217471e1d77aa78d084092b2e2e /ipc
parentupdate checkpatch.pl to version 0.10 (diff)
downloadlinux-c98673fee235c158bef237a7851c742976d66284.tar.xz
linux-c98673fee235c158bef237a7851c742976d66284.zip
I2O: Fix "defined but not used" build warnings
drivers/message/i2o/exec-osm.c:539: warning: `i2o_exec_lct_notify' defined but not used comes when CONFIG_I2O_LCT_NOTIFY_ON_CHANGES=n, because its only callsite is #ifdef'ed as such. So let's #ifdef the function definition also. Also move the definition to before the callsite, to get rid of forward prototype. [akpm@linux-foundation.org: fix warnings] Signed-off-by: Satyam Sharma <satyam@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions