diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-01-06 12:56:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-06 15:07:47 -0500 |
commit | 719255d0e29463ddba2d01a72c1e74092793103a (patch) | |
tree | 9427abd2947c56d701929f41de26c134077b7173 /drivers/net/ethernet/freescale | |
parent | c406700cdf882b89cb036117414fcd8b0cc2656d (diff) | |
download | op-kernel-dev-719255d0e29463ddba2d01a72c1e74092793103a.zip op-kernel-dev-719255d0e29463ddba2d01a72c1e74092793103a.tar.gz |
mlxsw: core: remove an unnecessary condition
We checked "err" on the lines before so we know it's zero here.
These cause a static checker warning because checking known things can
indicate a bug. Maybe there is a missing assignment or we are checking
the wrong variable.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions