diff options
author | Benjamin Berg <bberg@redhat.com> | 2022-06-08 12:38:02 +0200 |
---|---|---|
committer | Benjamin Berg <bberg@redhat.com> | 2022-06-08 12:38:02 +0200 |
commit | 115b756eafc676a4dff19dc552f186c4ceba8cff (patch) | |
tree | 5ad990da30e3cfb7e15dfc4b4a48bb4301386157 | |
parent | 68d4f3702d27a331ba95938862c46e5567dc58f4 (diff) | |
download | upower-115b756eafc676a4dff19dc552f186c4ceba8cff.tar.gz |
supply: Remove ID_INPUT_TABLET_PAD check as it implies ID_INPUT_TABLET
No need to test for ID_INPUT_TABLET_PAD separately.
-rw-r--r-- | src/linux/up-device-supply.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linux/up-device-supply.c b/src/linux/up-device-supply.c index 85783ca..1b5b824 100644 --- a/src/linux/up-device-supply.c +++ b/src/linux/up-device-supply.c @@ -843,7 +843,6 @@ up_device_supply_sibling_discovered (UpDevice *device, } types[] = { /* In order of type priority, we never downgrade here (loop aborts). */ { "ID_INPUT_TABLET", UP_DEVICE_KIND_TABLET }, - { "ID_INPUT_TABLET_PAD", UP_DEVICE_KIND_TABLET }, { "ID_INPUT_KEYBOARD", UP_DEVICE_KIND_KEYBOARD }, { "ID_INPUT_TOUCHPAD", UP_DEVICE_KIND_TOUCHPAD }, { "ID_INPUT_MOUSE", UP_DEVICE_KIND_MOUSE }, |