From: Joe Perches Date: Fri, 10 Apr 2015 23:47:35 +0000 (-0700) Subject: goldfish_pipe: Fix unlikely() misuse X-Git-Tag: v4.2-rc1~90^2~44 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=3411d035eb31138b8b756a788056b9e9ccd5f656;p=linux.git goldfish_pipe: Fix unlikely() misuse Move the close parenthesis. Signed-off-by: Joe Perches Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index d9a09d9637d9..a6558409ba45 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c @@ -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 */