commit | a0d46f7a0fa5e2a447a25c87612040babf7a3e18 | [log] [tgz] |
---|---|---|
author | Denis Efremov <efremov@linux.com> | Wed Sep 25 23:58:58 2019 +0300 |
committer | Kalle Valo <kvalo@codeaurora.org> | Tue Oct 01 12:20:59 2019 +0300 |
tree | e62bb9192efb1c30a4777a0f9628f69ec38ca2ca | |
parent | 3f93616951138a598d930dcaec40f2bfd9ce43bb [diff] |
rtlwifi: Remove excessive check in _rtl_ps_inactive_ps() There is no need to check "rtlhal->interface == INTF_PCI" twice in _rtl_ps_inactive_ps(). The nested check is always true. Thus, the expression can be simplified. Signed-off-by: Denis Efremov <efremov@linux.com> Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>