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 <ab...@linux.alibaba.com> > Signed-off-by: Jiapeng Chong <jiapeng.ch...@linux.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 :(