selftests: mlxsw: qos_lib: Drop __mlnx_qos
authorPetr Machata <petrm@nvidia.com>
Mon, 17 May 2021 17:03:55 +0000 (20:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 May 2021 22:15:46 +0000 (15:15 -0700)
Now that the two users of this helper have been converted to iproute2 dcb,
it is not necessary anymore. Drop it.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/qos_lib.sh

index 0bf76f13c0305f0d8119c3ccc7f52f778ba502b9..faa51012cdaca05255eddf0bb4ed607145565166 100644 (file)
@@ -82,17 +82,3 @@ bail_on_lldpad()
                fi
        fi
 }
-
-__mlnx_qos()
-{
-       local err
-
-       mlnx_qos "$@" 2>/dev/null
-       err=$?
-
-       if ((err)); then
-               echo "Error ($err) in mlnx_qos $@" >/dev/stderr
-       fi
-
-       return $err
-}