Skip to content
Snippets Groups Projects
Commit 3411d035 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment