mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2/3] HID: hid.h: remove unused hid_generic_{init,exit} prototypes
@ 2012-12-17 22:27 H Hartley Sweeten
  2013-01-03  9:34 ` Jiri Kosina
  0 siblings, 1 reply; 2+ messages in thread
From: H Hartley Sweeten @ 2012-12-17 22:27 UTC (permalink / raw)
  To: Linux Kernel; +Cc: jkosina, hsweeten

These functions are not defined. Remove the extern declarations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Jiri Kosina <jkosina@suse.cz>
---
 include/linux/hid.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/linux/hid.h b/include/linux/hid.h
index d6c71a6..828726c 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -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);
-- 
1.8.0.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/3] HID: hid.h: remove unused hid_generic_{init,exit} prototypes
  2012-12-17 22:27 [PATCH 2/3] HID: hid.h: remove unused hid_generic_{init,exit} prototypes H Hartley Sweeten
@ 2013-01-03  9:34 ` Jiri Kosina
  0 siblings, 0 replies; 2+ messages in thread
From: Jiri Kosina @ 2013-01-03  9:34 UTC (permalink / raw)
  To: H Hartley Sweeten; +Cc: Linux Kernel, hsweeten

On Mon, 17 Dec 2012, H Hartley Sweeten wrote:

> These functions are not defined. Remove the extern declarations.
> 
> Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
> Cc: Jiri Kosina <jkosina@suse.cz>
> ---
>  include/linux/hid.h | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/include/linux/hid.h b/include/linux/hid.h
> index d6c71a6..828726c 100644
> --- a/include/linux/hid.h
> +++ b/include/linux/hid.h
> @@ -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.

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-03  9:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-17 22:27 [PATCH 2/3] HID: hid.h: remove unused hid_generic_{init,exit} prototypes H Hartley Sweeten
2013-01-03  9:34 ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®