summaryrefslogtreecommitdiff
path: root/include/linux/hid.h
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2022-12-22 05:10:46 +0000
committerJiri Kosina <jkosina@suse.cz>2023-01-17 13:44:01 +0100
commit1d9ca84ce034960707b62ce7d5ca75d04f8db91a (patch)
tree0874ad62137f161ed7db534051411699637fa9bc /include/linux/hid.h
parent8c3e24065e3d37ee4787e6c72aa0ab6460db7598 (diff)
HID: Remove unused function hid_is_using_ll_driver()
As the last user was removed we can delete this function. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: David Rheinsberg <david.rheinsberg@gmail.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r--include/linux/hid.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index c4cf9cea4377..4dec31e8eadb 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -860,12 +860,6 @@ extern struct hid_ll_driver hidp_hid_driver;
extern struct hid_ll_driver uhid_hid_driver;
extern struct hid_ll_driver usb_hid_driver;
-static inline bool hid_is_using_ll_driver(struct hid_device *hdev,
- struct hid_ll_driver *driver)
-{
- return hdev->ll_driver == driver;
-}
-
extern bool hid_is_usb(const struct hid_device *hdev);
#define PM_HINT_FULLON 1<<5