Merge tag 'staging-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[deliverable/linux.git] / drivers / platform / goldfish / goldfish_pipe.c
index aad16bc9e630753f4f0b1f506b3c86ffec32e6c7..e7a29e2750c6aeb274047b37a9d32eb3fe70961d 100644 (file)
@@ -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 */
This page took 0.024611 seconds and 5 git commands to generate.