Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4e320b7 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Greg Kroah-Hartman
Browse files

Staging: rtl8188eu: os_dep: Remove NULL test before rtw_free_netdev



The function rtw_free_netdev test whether its argument is NULL and
return immediately. So NULL test before this function is not needed.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 04bdfd20
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -474,7 +474,6 @@ static void rtw_usb_if1_deinit(struct adapter *if1)
	pr_debug("+r871xu_dev_remove, hw_init_completed=%d\n",
		if1->hw_init_completed);
	rtw_free_drv_sw(if1);
	if (pnetdev)
	rtw_free_netdev(pnetdev);
}