diff options
author | Denis Efremov <efremov@linux.com> | 2019-09-25 23:58:58 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-10-01 12:20:59 +0300 |
commit | a0d46f7a0fa5e2a447a25c87612040babf7a3e18 (patch) | |
tree | e62bb9192efb1c30a4777a0f9628f69ec38ca2ca /drivers/net/wireless/marvell | |
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>
Diffstat (limited to 'drivers/net/wireless/marvell')
0 files changed, 0 insertions, 0 deletions