lkml.org 
[lkml]   [2019]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net-next] net: mscc: ocelot: remove unused variable 'vcap_data_t'
From
From: YueHaibing <yuehaibing@huawei.com>
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@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>

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

\
 
 \ /
  Last update: 2019-06-06 20:37    [W:0.026 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site