Re: [PATCH] net: dsa: mv88e6xxx: hwtstamp: remove unnecessary range checking tests

From: David Miller
Date: Mon Feb 19 2018 - 11:13:05 EST


From: "Gustavo A. R. Silva" <gustavo@xxxxxxxxxxxxxx>
Date: Fri, 16 Feb 2018 11:47:39 -0600

> _port_ is already known to be a valid index in the callers [1]. So
> these checks are unnecessary.
>
> [1] https://lkml.org/lkml/2018/2/16/469
>
> Addresses-Coverity-ID: 1465287
> Addresses-Coverity-ID: 1465291
> Suggested-by: Richard Cochran <richardcochran@xxxxxxxxx>
> Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>

Applied, thank you.