usb: gadget: omap_udc: remove unused variable
authorArnd Bergmann <arnd@arndb.de>
Wed, 3 Apr 2024 08:06:43 +0000 (10:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Apr 2024 15:06:19 +0000 (17:06 +0200)
commita2723e29c7f405e142e415efa6002479b79b57fa
tree1d15eb98dd799e0f03fe33349f61cdc3fca74c08
parent650cede0415bad26f487c25e8eb3b39bfe04e740
usb: gadget: omap_udc: remove unused variable

The driver_desc variable is only used in some configurations:

drivers/usb/gadget/udc/omap_udc.c:113:19: error: unused variable 'driver_desc' [-Werror,-Wunused-const-variable]

Since there is only ever one user of it, just open-code the string in place
and remove the global variable and the macro behind it. This also helps
grep for the MODULE_DESCRIPTION string.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20240403080702.3509288-26-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/omap_udc.c