commit | e21fed5864e408732653e0aa067b6669b7d88cda | [log] [tgz] |
---|---|---|
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | Fri Feb 16 11:47:39 2018 -0600 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 19 11:12:24 2018 -0500 |
tree | c27c29dbc4915a593b14e0292a0049cbaf203e38 | |
parent | e3f9f41757f5ce1e95ef3bc3bfb72bbcdb23ece2 [diff] |
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>