Skip to content

Commit

Permalink
HID: remove useless DRIVER_VERSION macro
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jiri Kosina committed Oct 13, 2009
1 parent 88adb72 commit ccabcd2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion drivers/hid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
* Version Information
*/

#define DRIVER_VERSION "v2.6"
#define DRIVER_DESC "HID core driver"
#define DRIVER_LICENSE "GPL"

Expand Down
4 changes: 1 addition & 3 deletions drivers/hid/usbhid/hid-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
* Version Information
*/

#define DRIVER_VERSION "v2.6"
#define DRIVER_DESC "USB HID core driver"
#define DRIVER_LICENSE "GPL"

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit ccabcd2

Please sign in to comment.