staging: rtl8188eu: remove constant variable and dead code
authorMartin Kaiser <martin@kaiser.cx>
Mon, 19 Apr 2021 20:11:24 +0000 (22:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 08:42:23 +0000 (10:42 +0200)
commit2a743d94ebff4fccacd29ad3630afc6347eb9b3b
tree78281af1e7bf5e97eff9888c3c6a69c688bc0f9d
parent8a24201f824a7daee44662b412042f74ce46145b
staging: rtl8188eu: remove constant variable and dead code

g_wifi_on is always true. Remove the variable and the code that would
be run only if g_wifi_on was false.

While at it, remove a pointlesss comment that starts with /** and is
misinterpreted as a kernel-doc comment.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20210419201126.25633-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/rtw_android.c