diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-07-30 12:47:52 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-30 10:19:47 -0700 |
commit | 2ad07086a557efdd80dd036f7b843bd3c51b81c2 (patch) | |
tree | 0c88db77942707a4de2158fed27b674c56bbad29 /drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | |
parent | net: dsa: mv88e6xxx: use link-down-define instead of plain value (diff) | |
download | linux-dev-2ad07086a557efdd80dd036f7b843bd3c51b81c2.tar.xz linux-dev-2ad07086a557efdd80dd036f7b843bd3c51b81c2.zip |
mlxsw: spectrum_ptp: fix duplicated check on orig_egr_types
Currently are duplicated checks on orig_egr_types which are
redundant, I believe this is a typo and should actually be
orig_ing_types || orig_egr_types instead of the expression
orig_egr_types || orig_egr_types. Fix these.
Addresses-Coverity: ("Same on both sides")
Fixes: c6b36bdd04b5 ("mlxsw: spectrum_ptp: Increase parsing depth when PTP is enabled")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions