driverdev-devel.linuxdriverproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: emxx_udc: remove unused variable driver_desc
@ 2021-02-19  3:41 Sean Behan
  2021-02-19  6:03 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Behan @ 2021-02-19  3:41 UTC (permalink / raw)
  Cc: devel, codebam, Greg Kroah-Hartman, linux-kernel, nathan,
	Kumar Kartikeya Dwivedi, Colin Ian King, Alex Dewar

Signed-off-by: Sean Behan <codebam@riseup.net>
---
 drivers/staging/emxx_udc/emxx_udc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 3536c03ff523..741147a4f0fe 100644
--- 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 */
-- 
2.29.2

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] staging: emxx_udc: remove unused variable driver_desc
@ 2021-02-17 14:24 Sean Behan
  2021-02-17 14:37 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Behan @ 2021-02-17 14:24 UTC (permalink / raw)
  Cc: devel, codebam, Greg Kroah-Hartman, linux-kernel, nathan,
	Kumar Kartikeya Dwivedi, Colin Ian King, Alex Dewar

When building with W=1, there is a warning that this variable is unused.

It is not used so remove it to fix the warning.

Thanks to nathan@kernel.org for helping me submit my first patch.

Signed-off-by: Sean Behan <codebam@riseup.net>
---
 drivers/staging/emxx_udc/emxx_udc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 3536c03ff523..741147a4f0fe 100644
--- 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 */
-- 
2.29.2

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] staging: emxx_udc: remove unused variable driver_desc
@ 2021-02-17 14:21 Sean Behan
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Behan @ 2021-02-17 14:21 UTC (permalink / raw)
  Cc: devel, codebam, Greg Kroah-Hartman, linux-kernel, nathan,
	Kumar Kartikeya Dwivedi, Colin Ian King, Alex Dewar

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>
---
 drivers/staging/emxx_udc/emxx_udc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/emxx_udc/emxx_udc.c b/drivers/staging/emxx_udc/emxx_udc.c
index 3536c03ff523..741147a4f0fe 100644
--- 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 */
-- 
2.29.2

_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-19  6:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19  3:41 [PATCH] staging: emxx_udc: remove unused variable driver_desc Sean Behan
2021-02-19  6:03 ` Greg Kroah-Hartman
  -- strict thread matches above, loose matches on Subject: below --
2021-02-17 14:24 Sean Behan
2021-02-17 14:37 ` Greg Kroah-Hartman
2021-02-17 14:21 Sean Behan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).