diff options
-rw-r--r-- | net/bridge/br_sysfs_br.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_sysfs_br.c b/net/bridge/br_sysfs_br.c index f4d40edbe8a9..6b8091407ca3 100644 --- a/net/bridge/br_sysfs_br.c +++ b/net/bridge/br_sysfs_br.c | |||
@@ -870,7 +870,6 @@ int br_sysfs_addbr(struct net_device *dev) | |||
870 | 870 | ||
871 | br->ifobj = kobject_create_and_add(SYSFS_BRIDGE_PORT_SUBDIR, brobj); | 871 | br->ifobj = kobject_create_and_add(SYSFS_BRIDGE_PORT_SUBDIR, brobj); |
872 | if (!br->ifobj) { | 872 | if (!br->ifobj) { |
873 | err = -EINVAL; | ||
874 | pr_info("%s: can't add kobject (directory) %s/%s\n", | 873 | pr_info("%s: can't add kobject (directory) %s/%s\n", |
875 | __func__, dev->name, SYSFS_BRIDGE_PORT_SUBDIR); | 874 | __func__, dev->name, SYSFS_BRIDGE_PORT_SUBDIR); |
876 | goto out3; | 875 | goto out3; |