Skip to content

Commit

Permalink
Revert "bridge: Fix incorrect variable assignment on error path in br…
Browse files Browse the repository at this point in the history
…_sysfs_addbr"

This reverts commit c862cc9.

Patch lacks a real-name Signed-off-by.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
davem330 committed Apr 6, 2016
1 parent 529927f commit 32fa270
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/bridge/br_sysfs_br.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,6 @@ int br_sysfs_addbr(struct net_device *dev)

br->ifobj = kobject_create_and_add(SYSFS_BRIDGE_PORT_SUBDIR, brobj);
if (!br->ifobj) {
err = -EINVAL;
pr_info("%s: can't add kobject (directory) %s/%s\n",
__func__, dev->name, SYSFS_BRIDGE_PORT_SUBDIR);
goto out3;
Expand Down

0 comments on commit 32fa270

Please sign in to comment.