Re: [PATCH v2 net-next] net: mvpp2: cls: Remove unnessesary check in mvpp2_ethtool_cls_rule_ins

From: David Miller
Date: Thu May 30 2019 - 14:51:25 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Wed, 29 May 2019 10:59:06 +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>
> ---
> v2: rework patch based net-next

Applied.