Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 32fa270c authored by David S. Miller's avatar David S. Miller
Browse files

Revert "bridge: Fix incorrect variable assignment on error path in br_sysfs_addbr"



This reverts commit c862cc9b.

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

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 529927f9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;