projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41b873c
)
staging: emxx_udc: remove unused variable driver_desc
author
Sean Behan
<codebam@riseup.net>
Wed, 17 Feb 2021 14:21:15 +0000
(09:21 -0500)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:25:25 +0000
(09:25 +0100)
When building with W=1 (or however you found it), there is a warning
that this variable is unused.
It is not used so remove it to fix the warning.
Signed-off-by: Sean Behan <codebam@riseup.net>
Link:
https://lore.kernel.org/r/20210217142118.7107-1-codebam@riseup.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/emxx_udc/emxx_udc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/emxx_udc/emxx_udc.c
b/drivers/staging/emxx_udc/emxx_udc.c
index 3536c03ff523596f54560ee31e30b4800de933bd..741147a4f0fe4ee262eb38e0d144ddd914e91a7f 100644
(file)
--- a/
drivers/staging/emxx_udc/emxx_udc.c
+++ b/
drivers/staging/emxx_udc/emxx_udc.c
@@
-38,7
+38,6
@@
static struct gpio_desc *vbus_gpio;
static int vbus_irq;
static const char driver_name[] = "emxx_udc";
-static const char driver_desc[] = DRIVER_DESC;
/*===========================================================================*/
/* Prototype */