]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Revert broken "statement with no effect" warning fix
authorLinus Torvalds <torvalds@g5.osdl.org>
Thu, 28 Jul 2005 17:34:47 +0000 (10:34 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 28 Jul 2005 17:34:47 +0000 (10:34 -0700)
commit2ac6608c41f8c45371ea9dddae7f99bc2c15d5cf
tree8d0c6801d488e5bfc6cc0bdf10bba35821bf5e69
parent7b70888a192eff457c2ca0a4ffa04815f5e19734
Revert broken "statement with no effect" warning fix

It may shut up gcc, but it also incorrectly changes the semantics of the
smp_call_function() helpers.

You can fix the warning other ways if you are interested (create another
inline function that takes no arguments and returns zero), but
preferably gcc just shouldn't complain about unused return values from
statement expressions in the first place.
include/asm-alpha/smp.h
include/linux/smp.h