]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/bonding/bond_sysfs.c
bonding: bond_sysfs.c checkpatch cleanup
[karo-tx-linux.git] / drivers / net / bonding / bond_sysfs.c
index dc36a3d7d9e983a15583260a572e6dac7451acb5..984ca02cfe7572ef0de26c9046c4e8d9e0a23758 100644 (file)
@@ -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",