]> err.no Git - linux-2.6/commitdiff
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 52a81005dab4b8878bba2a3f1586bc346890cc5b..1a00b8bc65ed3f4f0996a706ae248e373c20dcc6 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);