summaryrefslogtreecommitdiffstats
path: root/kernel/kallsyms.c
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2008-10-16 07:01:56 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-10-16 20:21:32 +0200
commitf337b9c58332bdecde965b436e47ea4c94d30da0 (patch)
tree0b630e4cd2cc19f29d56716162defa301f82bf65 /kernel/kallsyms.c
parentAT91: atmel_pwm only available for certain AT91 processors (diff)
downloadlinux-f337b9c58332bdecde965b436e47ea4c94d30da0.tar.xz
linux-f337b9c58332bdecde965b436e47ea4c94d30da0.zip
epoll: drop unnecessary test
Thomas found that there is an unnecessary (always true) test in ep_send_events(). The callback never inserts into ->rdllink while the send loop is performed, and also does the ~EP_PRIVATE_BITS test. Given we're holding the mutex during this time, the conditions tested inside the loop are always true. This patch drops the test done inside the re-insertion loop. Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions