diff options
author | Joe Perches <joe@perches.com> | 2015-04-10 16:47:35 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 12:24:35 -0700 |
commit | 3411d035eb31138b8b756a788056b9e9ccd5f656 (patch) | |
tree | da9bcd0eb3cdbdfe0ca041d56901931ce5cbceb0 | |
parent | d3046ba809ce4a3c34d605000cdce48c6ba54b6c (diff) |
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>
-rw-r--r-- | drivers/platform/goldfish/goldfish_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |