Commit 3411d035 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

goldfish_pipe: Fix unlikely() misuse

Move the close parenthesis.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d3046ba8
......@@ -282,7 +282,7 @@ static ssize_t goldfish_pipe_read_write(struct file *filp, char __user *buffer,
return -EIO;
/* Null reads or writes succeeds */
if (unlikely(bufflen) == 0)
if (unlikely(bufflen == 0))
return 0;
/* Check the buffer range for access */
......
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