rtlwifi: rtl8192{c,ce,cu,se}: Remove comparisons of booleans with true
[deliverable/linux.git] / drivers / net / wireless / rtlwifi / ps.c
index 3eb039a05286dd85b9cf63867c31b3a73bef2dc8..a693feffbe72913a28411ffbff05d07a1748fce7 100644 (file)
@@ -90,7 +90,7 @@ bool rtl_ps_set_rf_state(struct ieee80211_hw *hw,
                ppsc->rfoff_reason &= (~changesource);
 
                if ((changesource == RF_CHANGE_BY_HW) &&
-                   (ppsc->hwradiooff == true)) {
+                   (ppsc->hwradiooff)) {
                        ppsc->hwradiooff = false;
                }
 
This page took 0.032056 seconds and 5 git commands to generate.