OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529927f
)
Revert "bridge: Fix incorrect variable assignment on error path in br_sysfs_addbr"
author
David S. Miller
<davem@davemloft.net>
Wed, 6 Apr 2016 19:42:45 +0000
(15:42 -0400)
committer
David S. Miller
<davem@davemloft.net>
Wed, 6 Apr 2016 19:42:45 +0000
(15:42 -0400)
This reverts commit
c862cc9b70526a71d07e7bd86d9b61d1c792cead
.
Patch lacks a real-name Signed-off-by.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_sysfs_br.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_sysfs_br.c
b/net/bridge/br_sysfs_br.c
index
f4d40ed
..
6b80914
100644
(file)
--- 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)
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;