diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2018-02-16 11:47:39 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-19 11:12:24 -0500 |
commit | e21fed5864e408732653e0aa067b6669b7d88cda (patch) | |
tree | c27c29dbc4915a593b14e0292a0049cbaf203e38 /drivers/thunderbolt | |
parent | e3f9f41757f5ce1e95ef3bc3bfb72bbcdb23ece2 (diff) | |
download | talos-obmc-linux-e21fed5864e408732653e0aa067b6669b7d88cda.tar.gz talos-obmc-linux-e21fed5864e408732653e0aa067b6669b7d88cda.zip |
net: dsa: mv88e6xxx: hwtstamp: remove unnecessary range checking tests
_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@gmail.com>
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/thunderbolt')
0 files changed, 0 insertions, 0 deletions