Re: [PATCH] staging: r8188eu: remove unnecessary NULL check
From: Pavel Skripkin
Date: Mon Nov 22 2021 - 16:22:27 EST
On 11/22/21 22:53, Vihas Mak wrote:
remove unnecessary NULL check surrounding rtw_free_netdev(), as the check
is already performed inside rtw_free_netdev() in
drivers/staging/r8188eu/os_dep/osdep_service.c.
Signed-off-by: Vihas Mak <makvihas@xxxxxxxxx>
Reviewed-by: Pavel Skripkin <paskripkin@xxxxxxxxx>
BTW, same can be done in rtw_usb_if1_init().
With regards,
Pavel Skripkin