commit | 719255d0e29463ddba2d01a72c1e74092793103a | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Jan 06 12:56:30 2016 +0300 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 06 15:07:47 2016 -0500 |
tree | 9427abd2947c56d701929f41de26c134077b7173 | |
parent | c406700cdf882b89cb036117414fcd8b0cc2656d [diff] |
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>