Merge remote-tracking branch 'regulator/for-next'
[deliverable/linux.git] / drivers / net / ethernet / mellanox / mlx5 / core / mad.c
index 13e6afd52a9b5c898a82752c194c816813b1f95b..3a3b0005fd2bc47c383889c92f9490e1b225a0e6 100644 (file)
@@ -60,7 +60,6 @@ int mlx5_core_mad_ifc(struct mlx5_core_dev *dev, const void *inb, void *outb,
        memcpy(data, inb, MLX5_FLD_SZ_BYTES(mad_ifc_in, mad));
 
        err = mlx5_cmd_exec(dev, in, inlen, out, outlen);
-       err = err ? : mlx5_cmd_status_to_err_v2(out);
        if (err)
                goto out;
 
This page took 0.025816 seconds and 5 git commands to generate.