Skip to contentSkip to conversation

HID: hid.h: remove unused hid_generic_{init,exit} prototypes

PATCH Applied H Hartley Sweeten 2 participants 2 messages Dec 17, 2012 – Jan 3, 2013 HID

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 HID: hid.h: remove unused hid_generic_{init,exit} prototypes

These functions are not defined. Remove the extern declarations.

---
 include/linux/hid.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/hid.h +0 -3
index d6c71a6..828726c 100644
@@ -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
Applied
#1 lore raw
Quoted 13 lines · H Hartley Sweeten

These functions are not defined. Remove the extern declarations.

---
 include/linux/hid.h | 3 ---
 1 file changed, 3 deletions(-)
include/linux/hid.h +0 -0
index d6c71a6..828726c 100644

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