diff options
author | Joe Perches <joe@perches.com> | 2015-04-11 02:47:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 22:24:35 +0300 |
commit | 3411d035eb31138b8b756a788056b9e9ccd5f656 (patch) | |
tree | da9bcd0eb3cdbdfe0ca041d56901931ce5cbceb0 /drivers/platform | |
parent | d3046ba809ce4a3c34d605000cdce48c6ba54b6c (diff) | |
download | linux-3411d035eb31138b8b756a788056b9e9ccd5f656.tar.xz |
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>
Diffstat (limited to 'drivers/platform')
-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 */ |