OSDN Git Service

staging: rtlwifi: remove condition where it has no effect
authorSantha Meena Ramamoorthy <santhameena13@gmail.com>
Fri, 2 Mar 2018 10:34:03 +0000 (02:34 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:01:11 +0000 (04:01 -0800)
commit537da5127842c7297ccaba04a23c38f507cd5b5c
tree12e4df492e2130dbebbb35d53d861f5ecc337633
parentc51afd2d87fe709faf7cfee0ceae5ea3fc6a8aeb
staging: rtlwifi: remove condition where it has no effect

Remove condition where if and else branch are identical.
Issue found using cond_no_effect.cocci Coccinelle script.

Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/btcoexist/halbtc8822b2ant.c