提交 ccabcd2d 编写于 作者: J Jiri Kosina

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: NJiri Kosina <jkosina@suse.cz>
上级 88adb72b
...@@ -39,7 +39,6 @@ ...@@ -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"
......
...@@ -41,7 +41,6 @@ ...@@ -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) ...@@ -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:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册