summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2009-10-02 18:31:36 +0200
committerJiri Kosina <jkosina@suse.cz>2009-10-13 22:36:57 +0200
commitccabcd2dbe08c3b44ebae18e43ba212dfcb706d1 (patch)
treef168aaee7a638a079b7b1a12c81559baa6aa84cd
parent88adb72bcf3b1cc6b440fda9fa97bc2151245fc5 (diff)
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>
-rw-r--r--drivers/hid/hid-core.c1
-rw-r--r--drivers/hid/usbhid/hid-core.c4
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c
index c4cb8e9d0e7..6d5c84573b3 100644
--- a/drivers/hid/hid-core.c
+++ b/drivers/hid/hid-core.c
@@ -39,7 +39,6 @@
* Version Information
*/
-#define DRIVER_VERSION "v2.6"
#define DRIVER_DESC "HID core driver"
#define DRIVER_LICENSE "GPL"
diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c
index 390225dbb66..3f56e9c02e6 100644
--- a/drivers/hid/usbhid/hid-core.c
+++ b/drivers/hid/usbhid/hid-core.c
@@ -41,7 +41,6 @@
* Version Information
*/
-#define DRIVER_VERSION "v2.6"
#define DRIVER_DESC "USB HID core driver"
#define DRIVER_LICENSE "GPL"
@@ -1394,8 +1393,7 @@ static int __init hid_init(void)
retval = usb_register(&hid_driver);
if (retval)
goto usb_register_fail;
- printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":"
- DRIVER_DESC "\n");
+ printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_DESC "\n");
return 0;
usb_register_fail: