]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: rtl8723bs: removed unwanted if..else condition
authorAliasgar Surti <aliasgar.surti500@gmail.com>
Thu, 17 Oct 2019 14:18:26 +0000 (19:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Oct 2019 02:40:50 +0000 (22:40 -0400)
commitbe88dae8e2a9cda2b900040318c70a3d3c5b21cd
tree963b8d32811aef458d0071fb8613217ef2fbc711
parentbb84f28f0d865a4c0b4a7405683d32748b27d03a
staging: rtl8723bs: removed unwanted if..else condition

There is use of if..elseif..else condition which has same logic
in all three blocks.
Removed if..else block and placed log message instead that.

Signed-off-by: Aliasgar Surti <aliasgar.surti500@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/1571321906-15074-1-git-send-email-aliasgar.surti500@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_cmd.c