commit | 3411d035eb31138b8b756a788056b9e9ccd5f656 | [log] [tgz] |
---|---|---|
author | Joe Perches <[email protected]> | Fri Apr 10 16:47:35 2015 -0700 |
committer | Greg Kroah-Hartman <[email protected]> | Sun May 24 12:24:35 2015 -0700 |
tree | da9bcd0eb3cdbdfe0ca041d56901931ce5cbceb0 | |
parent | d3046ba809ce4a3c34d605000cdce48c6ba54b6c [diff] |
goldfish_pipe: Fix unlikely() misuse Move the close parenthesis. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index d9a09d9..a655840 100644 --- a/drivers/platform/goldfish/goldfish_pipe.c +++ b/drivers/platform/goldfish/goldfish_pipe.c
@@ -282,7 +282,7 @@ return -EIO; /* Null reads or writes succeeds */ - if (unlikely(bufflen) == 0) + if (unlikely(bufflen == 0)) return 0; /* Check the buffer range for access */