From 4504b1bc059f218bf3a3aa56d9956b1ae8ec7c0f Mon Sep 17 00:00:00 2001 From: bahar sahin Date: Mon, 3 Mar 2014 03:56:03 +0200 Subject: [PATCH] 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 --- drivers/staging/octeon/ethernet-rgmii.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. */ -- 2.20.1