summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/legacy/nokia.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-07-06 14:33:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-09 17:19:56 +0200
commit5d1d4818d21d838b46f456af68fc53297716a529 (patch)
tree04317480f6ae80089183a46ff9403811e68c6491 /drivers/usb/gadget/legacy/nokia.c
parent14602c55cb738303f2b48bd0392320f2911a58d6 (diff)
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>
Diffstat (limited to 'drivers/usb/gadget/legacy/nokia.c')
-rw-r--r--drivers/usb/gadget/legacy/nokia.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/legacy/nokia.c b/drivers/usb/gadget/legacy/nokia.c
index 978c1a34a932..2e15f9a32ce9 100644
--- a/drivers/usb/gadget/legacy/nokia.c
+++ b/drivers/usb/gadget/legacy/nokia.c
@@ -62,7 +62,6 @@ FSG_MODULE_PARAMETERS(/* no prefix */, fsg_mod_data);
#define STRING_DESCRIPTION_IDX USB_GADGET_FIRST_AVAIL_IDX
static char manufacturer_nokia[] = "Nokia";
-static const char product_nokia[] = NOKIA_LONG_NAME;
static const char description_nokia[] = "PC-Suite Configuration";
static struct usb_string strings_dev[] = {