staging: rtl8192e: Remove checks of pointer to LeisureP.. and start_se..
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Feb 2023 18:20:33 +0000 (19:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2023 16:05:46 +0000 (17:05 +0100)
commitf7cc87391a203ab713877fdbce2956ced91b9ed6
tree6fcbb8e184c0db756a94c3e7db39c6c00469ca97
parent237fea2f2dc618cc89b49c2713468f86cab63ed6
staging: rtl8192e: Remove checks of pointer to LeisureP.. and start_se..

Function pointers of LeisurePSLeave and start_send_beacons 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/cd828bb1c8dfbb6d2a85d770c82afbb9889e0ea2.1677345331.git.philipp.g.hortmann@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c
drivers/staging/rtl8192e/rtllib_softmac.c
drivers/staging/rtl8192e/rtllib_softmac_wx.c