usb: gadget: legacy: nokia: Remove unused static variable 'product_nokia'
authorLee Jones <lee.jones@linaro.org>
Mon, 6 Jul 2020 13:33:19 +0000 (14:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jul 2020 15:19:56 +0000 (17:19 +0200)
commit5d1d4818d21d838b46f456af68fc53297716a529
tree04317480f6ae80089183a46ff9403811e68c6491
parent14602c55cb738303f2b48bd0392320f2911a58d6
usb: gadget: legacy: nokia: Remove unused static variable 'product_nokia'

Looks as though it's never been used.  Driver was introduced in 2010.

Fixes the following W=1 kernel build warning(s):

 drivers/usb/gadget/legacy/nokia.c:65:19: warning: ‘product_nokia’ defined but not used [-Wunused-const-variable=]
 65 | static const char product_nokia[] = NOKIA_LONG_NAME;
 | ^~~~~~~~~~~~~

Cc: Felipe Balbi <balbi@kernel.org>
Cc: Al Borchers <alborchers@steinerpoint.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20200706133341.476881-11-lee.jones@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/legacy/nokia.c