mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
goldfish_pipe: Fix unlikely() misuse
Move the close parenthesis. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d3046ba809
commit
3411d035eb
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user