OSDN Git Service

staging: slicoss: logical continuations should be on the previous line
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 18 Nov 2016 17:58:07 +0000 (18:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Nov 2016 13:24:23 +0000 (14:24 +0100)
Move logical or operator to previous line to comply with
the standard kernel coding style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c

index d3b9c2e..260aa57 100644 (file)
@@ -614,8 +614,8 @@ static void slic_mac_config(struct adapter *adapter)
                value |= GMCR_GBIT;
 
        /* enable fullduplex */
-       if ((adapter->linkduplex == LINK_FULLD)
-           || (adapter->macopts & MAC_LOOPBACK)) {
+       if ((adapter->linkduplex == LINK_FULLD) ||
+           (adapter->macopts & MAC_LOOPBACK)) {
                value |= GMCR_FULLD;
        }