diff options
author | Joe Perches <joe@perches.com> | 2015-04-11 01:47:35 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-24 21:24:35 +0200 |
commit | 3411d035eb31138b8b756a788056b9e9ccd5f656 (patch) | |
tree | da9bcd0eb3cdbdfe0ca041d56901931ce5cbceb0 | |
parent | pcmcia: fix a boot time warning in pcmcia cs code (diff) | |
download | linux-3411d035eb31138b8b756a788056b9e9ccd5f656.tar.xz linux-3411d035eb31138b8b756a788056b9e9ccd5f656.zip |
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 */ |