Commit 226a998d authored by J. Bruce Fields's avatar J. Bruce Fields

locks: trivial removal of unnecessary parentheses

Remove some unnecessary parentheses.
Signed-off-by: default avatar"J. Bruce Fields" <bfields@citi.umich.edu>
parent 94a05509
...@@ -1738,7 +1738,7 @@ again: ...@@ -1738,7 +1738,7 @@ again:
else { else {
for (;;) { for (;;) {
error = posix_lock_file(filp, file_lock); error = posix_lock_file(filp, file_lock);
if ((error != -EAGAIN) || (cmd == F_SETLK)) if (error != -EAGAIN || cmd == F_SETLK)
break; break;
error = wait_event_interruptible(file_lock->fl_wait, error = wait_event_interruptible(file_lock->fl_wait,
!file_lock->fl_next); !file_lock->fl_next);
...@@ -1881,7 +1881,7 @@ again: ...@@ -1881,7 +1881,7 @@ again:
else { else {
for (;;) { for (;;) {
error = posix_lock_file(filp, file_lock); error = posix_lock_file(filp, file_lock);
if ((error != -EAGAIN) || (cmd == F_SETLK64)) if (error != -EAGAIN || cmd == F_SETLK64)
break; break;
error = wait_event_interruptible(file_lock->fl_wait, error = wait_event_interruptible(file_lock->fl_wait,
!file_lock->fl_next); !file_lock->fl_next);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment