locks: trivial removal of unnecessary parentheses
authorJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 14 Feb 2007 19:25:00 +0000 (14:25 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 16 Apr 2007 17:40:37 +0000 (13:40 -0400)
Remove some unnecessary parentheses.

Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
fs/locks.c

index 52a8100..1a00b8b 100644 (file)
@@ -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);