Re: [PATCH 1/2] staging: fix possible_condition_with_no_effect warnings

2018-08-05 Thread Larry Finger
On 08/05/2018 02:35 PM, Umang Parmar wrote: Remove unnecessary conditions where if and else block had same code. Signed-off-by: Umang Parmar The subject should be "staging: rtlwifi: ...". If someone wants to search for fixes to the modules in drivers/staging/rtlwifi/, your subject would not

[PATCH 1/2] staging: fix possible_condition_with_no_effect warnings

2018-08-05 Thread Umang Parmar
Remove unnecessary conditions where if and else block had same code. Signed-off-by: Umang Parmar --- .../rtlwifi/btcoexist/halbtc8822b2ant.c | 6 .../staging/rtlwifi/btcoexist/halbtcoutsrc.c | 6 ++-- drivers/staging/rtlwifi/phydm/phydm_debug.c | 29 ++-