]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net: usb: hso.c: remove unneeded DRIVER_LICENSE #define
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Nov 2017 14:19:39 +0000 (15:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Nov 2017 01:37:00 +0000 (10:37 +0900)
commit461ee7f3286dd50be4726606819c4228bc485a17
tree83a68428bc5d74f9cfeeba9e44049c120b8f5c8f
parentf743106ec140589b45ecc6ff92bacf48a0e26b05
net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

There is no need to #define the license of the driver, just put it in
the MODULE_LICENSE() line directly as a text string.

This allows tools that check that the module license matches the source
code license to work properly, as there is no need to unwind the
unneeded dereference.

Cc: "David S. Miller" <davem@davemloft.net>
Cc: Andreas Kemnade <andreas@kemnade.info>
Cc: Johan Hovold <johan@kernel.org>
Reported-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c