summaryrefslogtreecommitdiff
path: root/udev/udev-event.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-07-15 02:18:50 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-07-15 02:18:50 +0200
commit52dd9ef2efd3b0392fed505fe4af7c18cb7daa35 (patch)
tree560daf1da29ff1c60ad547f2de085b21527bea66 /udev/udev-event.c
parentc874e22e0da6f87aa72ade635f11421e6ecb6e48 (diff)
do not delete database when renaming netif, the db name does not change anymore
Diffstat (limited to 'udev/udev-event.c')
-rw-r--r--udev/udev-event.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/udev/udev-event.c b/udev/udev-event.c
index 832abbbfce..a4141e9c4b 100644
--- a/udev/udev-event.c
+++ b/udev/udev-event.c
@@ -957,10 +957,6 @@ int udev_event_execute_rules(struct udev_event *event, struct udev_rules *rules,
if (err == 0) {
info(event->udev, "renamed netif to '%s'\n", event->name);
- /* delete stale db file */
- udev_device_delete_db(dev);
- udev_device_tag_index(dev, NULL, false);
-
/* remember old name */
udev_device_add_property(dev, "INTERFACE_OLD", udev_device_get_sysname(dev));