From: dingtianhong Date: Tue, 23 Jul 2013 07:25:32 +0000 (+0800) Subject: bonding: bond_sysfs.c checkpatch cleanup X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=38c4916a7874aff9dc07a68bf8e7e4136b00f8dd;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git bonding: bond_sysfs.c checkpatch cleanup net/bonding/bond_sysfs.c:1302: ERROR: else should follow close brace '}' net/bonding/bond_sysfs.c:1314: ERROR: else should follow close brace '}' Signed-off-by: Ding Tianhong Cc: Jay Vosburgh Cc: Andy Gospodarek Signed-off-by: David S. Miller --- diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index dc36a3d7d9e9..984ca02cfe75 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c @@ -1295,8 +1295,7 @@ static ssize_t bonding_store_active_slave(struct device *d, bond->dev->name, slave->dev->name); goto out; - } - else { + } else { if ((new_active) && (old_active) && (new_active->link == BOND_LINK_UP) && @@ -1307,8 +1306,7 @@ static ssize_t bonding_store_active_slave(struct device *d, slave->dev->name); bond_change_active_slave(bond, new_active); - } - else { + } else { pr_info("%s: Could not set %s as" " active slave; either %s is" " down or the link is down.\n",