aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorSatyam Sharma <[email protected]>2007-10-16 23:29:39 -0700
committerLinus Torvalds <[email protected]>2007-10-17 08:42:56 -0700
commitc98673fee235c158bef237a7851c742976d66284 (patch)
treec8464820311ed217471e1d77aa78d084092b2e2e /include/linux
parent9c0ca6f9a0a0820da25b64259ea475751f1dd306 (diff)
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. [[email protected]: fix warnings] Signed-off-by: Satyam Sharma <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions