Re: [PATCH net-next] net: mvpp2: cls: Remove unnessesary check in mvpp2_ethtool_cls_rule_ins
From: David Miller
Date: Tue May 28 2019 - 20:13:51 EST
From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Mon, 27 May 2019 21:46:46 +0800
> Fix smatch warning:
>
> drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c:1236
> mvpp2_ethtool_cls_rule_ins() warn: unsigned 'info->fs.location' is never less than zero.
>
> 'info->fs.location' is u32 type, never less than zero.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>
This doesn't apply to net-next.