staging: rtl8192e: replace variable with direct return
authorMichael Straube <straube.linux@gmail.com>
Tue, 12 Mar 2024 05:18:16 +0000 (06:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2024 18:00:47 +0000 (19:00 +0100)
commit44ab88bf413b5c254507e1ed865e8ba071dfc99a
treed685040ba1c707fc074a75ebff458a7d7752d684
parentd1a2e2cb79ca39ae879f3b839a84543f3995b96c
staging: rtl8192e: replace variable with direct return

Remove the variable rt_status from rtl92e_send_cmd_pkt() and return
true/false directly to improve readability.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20240312051816.18717-1-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c