These warnings: drivers/usb/misc/emi26.c:40:19: warning: ‘emi26_init’ declared ‘static’ but never defined [-Wunused-function] drivers/usb/misc/emi26.c:41:20: warning: ‘emi26_exit’ declared ‘static’ but never defined [-Wunused-function] drivers/usb/misc/emi62.c:49:19: warning: ‘emi62_init’ declared ‘static’ but never defined [-Wunused-function] drivers/usb/misc/emi62.c:50:20: warning: ‘emi62_exit’ declared ‘static’ but never defined [-Wunused-function] are as claimed. There are no such init/exit functions. Delete the associated prototypes. Signed-off-by: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx> diff --git a/drivers/usb/misc/emi26.c b/drivers/usb/misc/emi26.c index d9b6a03..c18ffec 100644 --- a/drivers/usb/misc/emi26.c +++ b/drivers/usb/misc/emi26.c @@ -37,8 +37,6 @@ static int emi26_set_reset(struct usb_device *dev, unsigned char reset_bit); static int emi26_load_firmware (struct usb_device *dev); static int emi26_probe(struct usb_interface *intf, const struct usb_device_id *id); static void emi26_disconnect(struct usb_interface *intf); -static int __init emi26_init (void); -static void __exit emi26_exit (void); /* thanks to drivers/usb/serial/keyspan_pda.c code */ diff --git a/drivers/usb/misc/emi62.c b/drivers/usb/misc/emi62.c index 9f39062..a48da9e 100644 --- a/drivers/usb/misc/emi62.c +++ b/drivers/usb/misc/emi62.c @@ -46,8 +46,6 @@ static int emi62_set_reset(struct usb_device *dev, unsigned char reset_bit); static int emi62_load_firmware (struct usb_device *dev); static int emi62_probe(struct usb_interface *intf, const struct usb_device_id *id); static void emi62_disconnect(struct usb_interface *intf); -static int __init emi62_init (void); -static void __exit emi62_exit (void); /* thanks to drivers/usb/serial/keyspan_pda.c code */ -- 1.7.7.2 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html