Staging: octeon: Fix coding style
authorbahar sahin <baharxf@gmail.com>
Mon, 3 Mar 2014 01:56:03 +0000 (03:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2014 21:52:23 +0000 (13:52 -0800)
This patch removes unnecessary braces to fix a checkpatch.pl warning.

Signed-off-by: bahar sahin <baharxf@gmail.com>
Reviewed-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-rgmii.c

index 40297ce..25de353 100644 (file)
@@ -166,9 +166,8 @@ static void cvm_oct_rgmii_poll(struct net_device *dev)
 
        if (use_global_register_lock)
                spin_unlock_irqrestore(&global_register_lock, flags);
-       else {
+       else
                mutex_unlock(&priv->phydev->bus->mdio_lock);
-       }
 
        if (priv->phydev == NULL) {
                /* Tell core. */