OSDN Git Service

staging: r8188eu: core: remove condition never execute
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Sat, 4 Sep 2021 12:50:20 +0000 (18:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:48 +0000 (08:49 +0200)
commit8dac1203cdfb6c287b14748d007f644b03fb5e4d
tree229f50c2c3bb6baac645366c5b443982184cd5a7
parent965da82bcee9278b2dfdf161522c9c3824307d35
staging: r8188eu: core: remove condition never execute

Remove condition which never get execute.
as pattrib->mdata is always zero before if condition check.

Acked-by: Phillip Potter <phil@philpotter.co.uk>
Acked-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YTNrjG1y05ByN54+@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c