HID: remove useless DRIVER_VERSION macro

DRIVER_VERSION has no use whatosoever, it has been set to "2.6"
for ages. Remove it.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
Jiri Kosina 2009-10-02 18:31:36 +02:00
parent 88adb72bcf
commit ccabcd2dbe
2 changed files with 1 additions and 4 deletions

View File

@ -39,7 +39,6 @@
* Version Information * Version Information
*/ */
#define DRIVER_VERSION "v2.6"
#define DRIVER_DESC "HID core driver" #define DRIVER_DESC "HID core driver"
#define DRIVER_LICENSE "GPL" #define DRIVER_LICENSE "GPL"

View File

@ -41,7 +41,6 @@
* Version Information * Version Information
*/ */
#define DRIVER_VERSION "v2.6"
#define DRIVER_DESC "USB HID core driver" #define DRIVER_DESC "USB HID core driver"
#define DRIVER_LICENSE "GPL" #define DRIVER_LICENSE "GPL"
@ -1394,8 +1393,7 @@ static int __init hid_init(void)
retval = usb_register(&hid_driver); retval = usb_register(&hid_driver);
if (retval) if (retval)
goto usb_register_fail; goto usb_register_fail;
printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
DRIVER_DESC "\n");
return 0; return 0;
usb_register_fail: usb_register_fail: