Re: [PATCH v2 net-next] cxgb4: remove set but not used variable 'tab'

From: David Miller
Date: Wed Mar 25 2020 - 14:20:13 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 25 Mar 2020 09:17:50 +0800

> drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c: In function cxgb4_get_free_ftid:
> drivers/net/ethernet/chelsio/cxgb4/cxgb4_filter.c:547:23:
> warning: variable tab set but not used [-Wunused-but-set-variable]
>
> commit 8d174351f285 ("cxgb4: rework TC filter rule insertion across regions")
> involved this, remove it.
>
> Reported-by: Hulk Robot <hulkci@xxxxxxxxxx>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
> ---
> v2: keep christmas tree ordering

Applied, thank you.