summaryrefslogtreecommitdiff
path: root/macvlan.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-14 15:51:13 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-12-14 15:59:12 +0100
commit2851c3bcde8c23f6535b13c80fc486569c288ec7 (patch)
treea8f7be8b96ddfab627b91b551b5d92a90e328f8d /macvlan.c
parent0d5c827cd976886b1dce86bbefc74fc8303bac99 (diff)
downloadnetifd-2851c3bcde8c23f6535b13c80fc486569c288ec7.tar.gz
Revert "netifd: Link layer state support on device level"
This reverts commit c439b52400978dd3799c66e1f632ee68d2c7c9eb.
Diffstat (limited to 'macvlan.c')
-rw-r--r--macvlan.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/macvlan.c b/macvlan.c
index 9c03cd8..28567dc 100644
--- a/macvlan.c
+++ b/macvlan.c
@@ -69,12 +69,6 @@ macvlan_base_cb(struct device_user *dev, enum device_event ev)
case DEV_EVENT_REMOVE:
device_set_present(&mvdev->dev, false);
break;
- case DEV_EVENT_LINK_UP:
- device_set_link(&mvdev->dev, true);
- break;
- case DEV_EVENT_LINK_DOWN:
- device_set_link(&mvdev->dev, false);
- break;
default:
return;
}