staging: rtl8192e: Remove checks of pointer to stop_send.. and rtllib_..
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Feb 2023 18:20:41 +0000 (19:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2023 16:05:47 +0000 (17:05 +0100)
commit997f7f0c2c32fa7679673242eb67b970636c7aeb
treeac5a08de0db848c54553f96774acd2dc465ce2ad
parentf7cc87391a203ab713877fdbce2956ced91b9ed6
staging: rtl8192e: Remove checks of pointer to stop_send.. and rtllib_..

Function pointers of stop_send_beacons and rtllib_ips_leave_wq is set
while executing the probe function. Therefore a NULL pointer check is
not required. Remove checks as it is dead code.

Signed-off-by: Philipp Hortmann <philipp.g.hortmann@gmail.com>
Link: https://lore.kernel.org/r/f12e9167499344059f77991d2058c050bbe744d2.1677345331.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_softmac.c