Re: [PATCH net-next] atl2: remove unused variable 'atl2_driver_string'
From: David Miller
Date: Thu Mar 26 2020 - 14:22:40 EST
From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 26 Mar 2020 11:21:50 +0800
> drivers/net/ethernet/atheros/atlx/atl2.c:40:19: warning: ʽatl2_driver_stringʼ defined but not used [-Wunused-const-variable=]
> static const char atl2_driver_string[] = "Atheros(R) L2 Ethernet Driver";
> ^~~~~~~~~~~~~~~~~~
>
> commit ea973742140b ("net/atheros: Clean atheros code from driver version")
> left behind this, remove it.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
Applied.