staging: r8188eu: FAT_State is always FAT_NORMAL_STATE
authorMichael Straube <straube.linux@gmail.com>
Tue, 28 Dec 2021 10:11:16 +0000 (11:11 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Dec 2021 16:14:29 +0000 (17:14 +0100)
commita4a44a1c15adc919e19c86d56d518dab80ced77f
tree46774c7a48563f39b64fe71435587e13d9438fa8
parent9e357d4c8f789c6f36e9c606cc813f1899465b67
staging: r8188eu: FAT_State is always FAT_NORMAL_STATE

In this driver pDM_FatTable->FAT_State is always FAT_NORMAL_STATE.
So the check 'if (pDM_FatTable->FAT_State == FAT_TRAINING_STATE)'
is always false. Remove dead code that is executed only if that
check is true.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20211228101120.9120-7-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/odm_HWConfig.c