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>
if (use_global_register_lock)
spin_unlock_irqrestore(&global_register_lock, flags);
if (use_global_register_lock)
spin_unlock_irqrestore(&global_register_lock, flags);
mutex_unlock(&priv->phydev->bus->mdio_lock);
mutex_unlock(&priv->phydev->bus->mdio_lock);
if (priv->phydev == NULL) {
/* Tell core. */
if (priv->phydev == NULL) {
/* Tell core. */