diff options
author | kay.sievers@vrfy.org <kay.sievers@vrfy.org> | 2005-02-21 14:05:52 +0100 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 23:36:13 -0700 |
commit | 69f57c6a2b94ae3b70a0ca43b46c30f8dce0a295 (patch) | |
tree | ae07a2d427b524af5e182b1e337e3298837cfb72 /namedev.c | |
parent | 5e39f90b14ccf242618086a0242000fc11317a75 (diff) |
[PATCH] detect NAME="" as ignore_device rule
Diffstat (limited to 'namedev.c')
-rw-r--r-- | namedev.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -749,15 +749,6 @@ int namedev_name_device(struct udevice *udev, struct sysfs_class_device *class_d dbg("process rule"); if (match_rule(udev, dev, class_dev, sysfs_device) == 0) { - /* FIXME: remove old style ignore rule and make OPTION="ignore" mandatory */ - if (dev->name[0] == '\0' && dev->symlink[0] == '\0' && - dev->mode == 0000 && dev->owner[0] == '\0' && dev->group[0] == '\0' && - !dev->ignore_device && !dev->partitions && !dev->ignore_remove) { - info("configured rule in '%s[%i]' applied, '%s' is ignored", - dev->config_file, dev->config_line, udev->kernel_name); - return -1; - } - /* apply options */ if (dev->ignore_device) { info("configured rule in '%s[%i]' applied, '%s' is ignored", |