There are some NULL checks which doesn't make sense. So either we should remove them or fix them appropriately. This patchset fixes them. Tested on Comfast CF-WU810N RTL8188EUS wireless adapter. Vihas Makwana (3): staging: r8188eu: fix null check in rtw_free_recvframe staging: r8188eu: fix null check in _rtw_enqueue_recvframe staging: r8188eu: fix null check in _rtw_free_mlme_priv drivers/staging/r8188eu/core/rtw_mlme.c | 8 +++----- drivers/staging/r8188eu/core/rtw_recv.c | 5 +++-- 2 files changed, 6 insertions(+), 7 deletions(-) -- 2.30.2