From: J. Bruce Fields Date: Wed, 14 Feb 2007 19:25:00 +0000 (-0500) Subject: locks: trivial removal of unnecessary parentheses X-Git-Tag: v2.6.22-rc1~818^2~16 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=226a998dbf3c6f9b85f67d08a52c5a2143ed9d88;p=linux-2.6-omap-h63xx.git locks: trivial removal of unnecessary parentheses Remove some unnecessary parentheses. Signed-off-by: "J. Bruce Fields" --- diff --git a/fs/locks.c b/fs/locks.c index 52a81005dab..1a00b8bc65e 100644 --- a/fs/locks.c +++ b/fs/locks.c @@ -1738,7 +1738,7 @@ again: else { for (;;) { error = posix_lock_file(filp, file_lock); - if ((error != -EAGAIN) || (cmd == F_SETLK)) + if (error != -EAGAIN || cmd == F_SETLK) break; error = wait_event_interruptible(file_lock->fl_wait, !file_lock->fl_next); @@ -1881,7 +1881,7 @@ again: else { for (;;) { error = posix_lock_file(filp, file_lock); - if ((error != -EAGAIN) || (cmd == F_SETLK64)) + if (error != -EAGAIN || cmd == F_SETLK64) break; error = wait_event_interruptible(file_lock->fl_wait, !file_lock->fl_next);