[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YHQV4sX6rGjFb9yj@kroah.com>
Date: Mon, 12 Apr 2021 11:41:54 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: emxx_udc: remove useless variable
On Mon, Apr 12, 2021 at 10:53:10AM +0800, Jiapeng Chong wrote:
> Fix the following gcc warning:
>
> vers/staging/emxx_udc/emxx_udc.c:41:19: warning: ‘driver_desc’ defined
> but not used [-Wunused-const-variable=].
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
> ---
> 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 3536c03..741147a 100644
> --- a/drivers/staging/emxx_udc/emxx_udc.c
> +++ b/drivers/staging/emxx_udc/emxx_udc.c
> @@ -38,7 +38,6 @@
> static int vbus_irq;
>
> static const char driver_name[] = "emxx_udc";
> -static const char driver_desc[] = DRIVER_DESC;
>
> /*===========================================================================*/
> /* Prototype */
> --
> 1.8.3.1
>
>
Does not apply to my tree at all :(
Powered by blists - more mailing lists