summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2015-03-16 12:05:36 +0100
committerDavid Herrmann <dh.herrmann@gmail.com>2015-03-16 12:05:36 +0100
commita9c30bca57e4ded8c416c9e319fd313ad346372b (patch)
tree2791c15171532759aa45f86c317578777204b51f
parentaee26b12763bf12de1313c4a957f33227f94bebd (diff)
downloadsystemd-a9c30bca57e4ded8c416c9e319fd313ad346372b.tar.gz
systemd-a9c30bca57e4ded8c416c9e319fd313ad346372b.tar.bz2
systemd-a9c30bca57e4ded8c416c9e319fd313ad346372b.zip
rules: drop redundant match
The 60-keyboard rules are already guared by KERNEL!="event*" bail-outs, therefore, KERNELS="input*" is always true. Drop it!
-rw-r--r--rules/60-keyboard.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/60-keyboard.rules b/rules/60-keyboard.rules
index e456292253..1265b0cfc5 100644
--- a/rules/60-keyboard.rules
+++ b/rules/60-keyboard.rules
@@ -13,7 +13,7 @@ DRIVERS=="atkbd", IMPORT{builtin}="hwdb 'keyboard:$attr{[dmi/id]modalias}'", \
RUN{builtin}+="keyboard", GOTO="keyboard_end"
# import key mapping for platform input device
-KERNELS=="input*", IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
+IMPORT{builtin}="hwdb 'keyboard:name:$attr{name}:$attr{[dmi/id]modalias}'", \
RUN{builtin}+="keyboard", GOTO="keyboard_end"
LABEL="keyboard_end"