Re: [PATCH net-next] net: mscc: ocelot: remove unused variable 'vcap_data_t'

From: David Miller
Date: Thu Jun 06 2019 - 14:41:14 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Thu, 6 Jun 2019 22:46:49 +0800

> Fix sparse warning:
>
> drivers/net/ethernet/mscc/ocelot_ace.c:96:3:
> warning: symbol 'vcap_data_t' was not declared. Should it be static?
>
> 'vcap_data_t' never used so can be removed
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied. I am pretty sure this was meant to be a typedef.