diff options
author | bahar sahin <baharxf@gmail.com> | 2014-03-03 05:56:03 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-08 01:52:23 +0400 |
commit | 4504b1bc059f218bf3a3aa56d9956b1ae8ec7c0f (patch) | |
tree | 9a953d9a9161e5f2ac24821acb3511f776f7e3b2 /drivers/staging/octeon/ethernet-rgmii.c | |
parent | 8a125b0e04b1a34def5c7bbc899fea2971b10c37 (diff) | |
download | linux-4504b1bc059f218bf3a3aa56d9956b1ae8ec7c0f.tar.xz |
Staging: octeon: Fix coding style
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>
Diffstat (limited to 'drivers/staging/octeon/ethernet-rgmii.c')
-rw-r--r-- | drivers/staging/octeon/ethernet-rgmii.c | 3 |
1 files changed, 1 insertions, 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. */ |