linux/drivers/staging/qlge
Dan Carpenter f7bff01774 staging: qlge: fix an error code in probe()
If alloc_etherdev_mq() fails then return -ENOMEM instead of success.
The "err = 0;" triggers an unused assignment now so remove that as
well.

Fixes: 953b940093 ("staging: qlge: Initialize devlink health dump framework")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YFiyicHI189PXrha@mwanda
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-22 17:11:26 +01:00
..
Kconfig staging: qlge: Initialize devlink health dump framework 2021-01-29 16:54:20 +01:00
Makefile staging: qlge: Initialize devlink health dump framework 2021-01-29 16:54:20 +01:00
qlge_dbg.c staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00
qlge_devlink.c staging: qlge: fix read of an uninitialized pointer 2021-02-04 17:14:26 +01:00
qlge_devlink.h staging: qlge: Initialize devlink health dump framework 2021-01-29 16:54:20 +01:00
qlge_ethtool.c staging: qlge/qlge_ethtool.c: Switch from strlcpy to strscpy 2021-01-31 13:39:16 +01:00
qlge_main.c staging: qlge: fix an error code in probe() 2021-03-22 17:11:26 +01:00
qlge_mpi.c staging: qlge: remove mpi_core_to_log which sends coredump to the kernel ring buffer 2021-01-29 16:54:20 +01:00
qlge.h staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00
TODO staging: qlge: clean up debugging code in the QL_ALL_DUMP ifdef land 2021-01-29 16:54:21 +01:00