usb: gadget: udc: remove unused 'driver_desc'
authorJason Yan <yanaijie@huawei.com>
Fri, 17 Apr 2020 07:31:37 +0000 (15:31 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Apr 2020 13:28:15 +0000 (15:28 +0200)
commit5c330a7cefccbf91fb04a163defd80ae7cad61a9
tree4cabe3647297dcf8c021bceb289a49c9610a1720
parent361ff6c10f4b08179185c5175f8a36565c432d74
usb: gadget: udc: remove unused 'driver_desc'

Fix the following gcc warning:

drivers/usb/gadget/udc/gr_udc.c:51:19: warning: â€˜driver_desc’ defined
but not used [-Wunused-const-variable=]
 static const char driver_desc[] = DRIVER_DESC;
                   ^~~~~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200417073137.39968-1-yanaijie@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/gr_udc.c