Commit 4504b1bc059f218bf3a3aa56d9956b1ae8ec7c0f

Authored by bahar sahin
Committed by Greg Kroah-Hartman
1 parent 8a125b0e04

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>

Showing 1 changed file with 1 additions and 2 deletions Side-by-side Diff

drivers/staging/octeon/ethernet-rgmii.c
... ... @@ -166,9 +166,8 @@
166 166  
167 167 if (use_global_register_lock)
168 168 spin_unlock_irqrestore(&global_register_lock, flags);
169   - else {
  169 + else
170 170 mutex_unlock(&priv->phydev->bus->mdio_lock);
171   - }
172 171  
173 172 if (priv->phydev == NULL) {
174 173 /* Tell core. */