[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210217142420.7350-1-codebam@riseup.net>
Date: Wed, 17 Feb 2021 09:24:17 -0500
From: Sean Behan <codebam@...eup.net>
To: unlisted-recipients:; (no To-header on input)
Cc: codebam@...eup.net, nathan@...nel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alex Dewar <alex.dewar90@...il.com>,
Kumar Kartikeya Dwivedi <memxor@...il.com>,
Colin Ian King <colin.king@...onical.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH] staging: emxx_udc: remove unused variable driver_desc
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@...nel.org for helping me submit my first patch.
Signed-off-by: Sean Behan <codebam@...eup.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
Powered by blists - more mailing lists