summaryrefslogtreecommitdiff
path: root/ipc/ipc_sysctl.c
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2021-04-23 14:19:45 +0200
committerDavid S. Miller <davem@davemloft.net>2021-04-23 14:01:28 -0700
commit1f1c92139e36223b89d8140f2b72f75e79baf8bd (patch)
treeeb836f68e80d05dc9d44928a0f0173187e54fe66 /ipc/ipc_sysctl.c
parentb6fc2f212108b3676f54d00a2c38e3bc36753980 (diff)
selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test
Currently, the error return code of the failure condition is lost after using an if statement, so the test doesn't fail when it should. Remove the if statement that separates the condition and the error code check, so the test won't always pass. Fixes: abfce9e062021 ("selftests: mlxsw: Reduce running time using offload indication") Reported-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Danielle Ratson <danieller@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'ipc/ipc_sysctl.c')
0 files changed, 0 insertions, 0 deletions