projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79368a6
)
remove an unnecessary check
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 24 Jan 2012 21:39:35 +0000
(22:39 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 24 Jan 2012 21:39:35 +0000
(22:39 +0100)
interface.c
patch
|
blob
|
history
diff --git
a/interface.c
b/interface.c
index 1db2efe4ae8e317933ae3e0d5a47daec5c081a60..3dceef07797f4e473d67f327c9643fb03ec1713c 100644
(file)
--- a/
interface.c
+++ b/
interface.c
@@
-183,7
+183,7
@@
interface_claim_device(struct interface *iface)
{
struct device *dev;
- if (iface->ifname &&
iface->proto_handler &&
+ if (iface->ifname &&
!(iface->proto_handler->flags & PROTO_FLAG_NODEV)) {
dev = device_get(iface->ifname, true);
if (dev)