summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-01-06 12:56:30 +0300
committerDavid S. Miller <davem@davemloft.net>2016-01-06 15:07:47 -0500
commit719255d0e29463ddba2d01a72c1e74092793103a (patch)
tree9427abd2947c56d701929f41de26c134077b7173 /net/switchdev/switchdev.c
parentc406700cdf882b89cb036117414fcd8b0cc2656d (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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions