]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
platform: goldfish: pipe: Move logical ops to the end of the prev line
authorRoman Kiryanov <rkir@google.com>
Mon, 27 Aug 2018 18:23:14 +0000 (11:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Sep 2018 13:31:31 +0000 (15:31 +0200)
checkpatch: Logical continuations should be on the previous line

Signed-off-by: Roman Kiryanov <rkir@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/goldfish/goldfish_pipe.c

index 02783bc59dd702d785ed3bfee6d40b402b3531ad..c892a0447a816fc48519c1228f9af3579a1970fd 100644 (file)
@@ -532,8 +532,8 @@ static void signalled_pipes_add_locked(struct goldfish_pipe_dev *dev,
                return;
        pipe->signalled_flags |= flags;
 
-       if (pipe->prev_signalled || pipe->next_signalled
-               || dev->first_signalled_pipe == pipe)
+       if (pipe->prev_signalled || pipe->next_signalled ||
+               dev->first_signalled_pipe == pipe)
                return; /* already in the list */
        pipe->next_signalled = dev->first_signalled_pipe;
        if (dev->first_signalled_pipe)