HID: hid.h: remove unused hid_generic_{init,exit} prototypes
PATCH 2/3 HID: hid.h: remove unused hid_generic_{init,exit} prototypes
These functions are not defined. Remove the extern declarations.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Jiri Kosina <[email protected]>
--- include/linux/hid.h | 3 --- 1 file changed, 3 deletions(-)
include/linux/hid.h +0 -3
@@ -884,9 +884,6 @@ static inline int hid_hw_power(struct hid_device *hdev, int level)int hid_report_raw_event (struct hid_device *hid,int type,u8 *data,int size,int interrupt); -extern int hid_generic_init (void ); -extern void hid_generic_exit (void ); -/* HID quirks API */ u32 usbhid_lookup_quirk (const u16 idVendor,const u16 idProduct);int usbhid_quirks_init (char **quirks_param);
Signature · 1 line
1.8.0.2
Jiri Kosina
AppliedQuoted 13 lines · H Hartley Sweeten
These functions are not defined. Remove the extern declarations.
Signed-off-by H Hartley Sweeten <[email protected]>Cc Jiri Kosina <[email protected]>--- include/linux/hid.h | 3 --- 1 file changed, 3 deletions(-)include/linux/hid.h +0
-0
include/linux/hid.h static inline int hid_hw_power(struct hid_device *hdev, int level) · line 889
Quoted 9 lines
include/linux/hid.h +0
-3@@ -884,9 +884,6 @@ static inline int hid_hw_power(struct hid_device *hdev, int level)int hid_report_raw_event (struct hid_device *hid,int type,u8 *data,int size,int interrupt); -extern int hid_generic_init (void ); -extern void hid_generic_exit (void ); -/* HID quirks API */ u32 usbhid_lookup_quirk (const u16 idVendor,const u16 idProduct);int usbhid_quirks_init (char **quirks_param);
Applied.
Signature · 2 lines
Jiri Kosina SUSE Labs