From: bahar sahin Date: Mon, 3 Mar 2014 01:56:03 +0000 (+0200) Subject: Staging: octeon: Fix coding style X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4504b1bc059f218bf3a3aa56d9956b1ae8ec7c0f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Staging: octeon: Fix coding style This patch removes unnecessary braces to fix a checkpatch.pl warning. Signed-off-by: bahar sahin Reviewed-by: Sarah Sharp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon/ethernet-rgmii.c b/drivers/staging/octeon/ethernet-rgmii.c index 40297ceb86af..25de3532f49d 100644 --- a/drivers/staging/octeon/ethernet-rgmii.c +++ b/drivers/staging/octeon/ethernet-rgmii.c @@ -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. */