summaryrefslogtreecommitdiff
path: root/udev-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev-add.c')
-rw-r--r--udev-add.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/udev-add.c b/udev-add.c
index 369ea82b6c..aef755442f 100644
--- a/udev-add.c
+++ b/udev-add.c
@@ -39,7 +39,6 @@
#include "udev.h"
#include "udev_lib.h"
#include "udev_version.h"
-#include "udev_selinux.h"
#include "logging.h"
#include "namedev.h"
#include "udevdb.h"
@@ -277,9 +276,6 @@ static int create_node(struct udevice *dev, int fake)
}
}
- if (!fake)
- selinux_add_node(filename);
-
/* create symlink if requested */
foreach_strpart(dev->symlink, " ", pos, len) {
strfieldcpymax(linkname, pos, len+1);