projects
/
project
/
netifd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
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
1db2efe
..
3dceef0
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)