staging: rtl8192e: Remove checks of pointer to handle_a.. and handle_b..
authorPhilipp Hortmann <philipp.g.hortmann@gmail.com>
Sat, 25 Feb 2023 18:20:26 +0000 (19:20 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Mar 2023 16:05:46 +0000 (17:05 +0100)
commit237fea2f2dc618cc89b49c2713468f86cab63ed6
treee5e801a2d3b853e3fc3f388411c76f6bc7d9af01
parent5e2b6593f27052ca997ecf822f62b5a301a25b78
staging: rtl8192e: Remove checks of pointer to handle_a.. and handle_b..

Function pointers of handle_assoc_response and handle_beacon 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/5c0fd114c24616bc03271ccb0a72a6bc68e45d61.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