]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
eventfd: clean compile when CONFIG_EVENTFD=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 27 Jun 2007 21:09:48 +0000 (14:09 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 28 Jun 2007 18:34:53 +0000 (11:34 -0700)
commitd2fd89962cd5de6b1fb9c1c789b56bc16f58f121
tree0c07ea2d059d715e6f0d9c8778ea1e1382dfbc95
parentc0887eedb4498e20e7895508b7af8e419e397405
eventfd: clean compile when CONFIG_EVENTFD=n

Fix gcc warning and add parameter checking when CONFIG_EVENTFD=n:

fs/aio.c: In function 'aio_complete':
fs/aio.c:955: warning: statement with no effect

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/eventfd.h