summaryrefslogtreecommitdiff
path: root/udev_rules_parse.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-06-07 16:00:34 +0200
committerKay Sievers <kay.sievers@suse.de>2006-06-07 16:00:34 +0200
commit891205121395acbe84eb6173670ce7934cd9b1c6 (patch)
tree8f3281f5d43b2a300d37a191d3fd089fce048664 /udev_rules_parse.c
parente55a73abb07e6949ebbf17fa08a3ddeaddbbc41f (diff)
remove MODALIAS key and substitution
Diffstat (limited to 'udev_rules_parse.c')
-rw-r--r--udev_rules_parse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/udev_rules_parse.c b/udev_rules_parse.c
index 91cc9744fb..271de6f879 100644
--- a/udev_rules_parse.c
+++ b/udev_rules_parse.c
@@ -374,12 +374,6 @@ static int add_to_rules(struct udev_rules *rules, char *line, const char *filena
continue;
}
- if (strcasecmp(key, "MODALIAS") == 0) {
- add_rule_key(rule, &rule->modalias, operation, value);
- valid = 1;
- continue;
- }
-
if (strncasecmp(key, "IMPORT", sizeof("IMPORT")-1) == 0) {
attr = get_key_attribute(key + sizeof("IMPORT")-1);
if (attr && strstr(attr, "program")) {