diff options
| author | 2021-03-22 18:06:49 +0300 | |
|---|---|---|
| committer | 2021-03-22 17:11:26 +0100 | |
| commit | f7bff017741d98567265ed6a6449311a51810fb6 (patch) | |
| tree | 5d4755790f66b9d004d2fc0de2956008371793d8 /include/linux/timerqueue.h | |
| parent | staging: rtl8723bs: delete extern declarations in core/rtw_ap.c (diff) | |
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: 953b94009377 ("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>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
