diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2007-02-14 14:25:00 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2007-04-16 13:40:37 -0400 |
commit | 226a998dbf3c6f9b85f67d08a52c5a2143ed9d88 (patch) | |
tree | 1c7c6e08a515243cc5747ef99bba24f702a18b23 | |
parent | 94a05509a9e11806acd797153d03019706e466f1 (diff) | |
download | op-kernel-dev-226a998dbf3c6f9b85f67d08a52c5a2143ed9d88.zip op-kernel-dev-226a998dbf3c6f9b85f67d08a52c5a2143ed9d88.tar.gz |
locks: trivial removal of unnecessary parentheses
Remove some unnecessary parentheses.
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
-rw-r--r-- | fs/locks.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |