mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
staging: wfx: replace 0 by NULL
Replace 0 by NULL as the return value of a pointer-returning function. Issue detected by sparse tool. Signed-off-by: Jules Irenge <jbi.octave@gmail.com> Link: https://lore.kernel.org/r/20191105010352.222479-2-jbi.octave@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3b525cb00c
commit
2c1facbc43
@@ -565,7 +565,7 @@ struct hif_msg *wfx_tx_queues_get(struct wfx_dev *wdev)
|
||||
}
|
||||
|
||||
if (ret)
|
||||
return 0;
|
||||
return NULL;
|
||||
|
||||
queue_num = queue - wdev->tx_queue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user