rtlwifi: Remove double check for cnt_after_linked
authorwang yanqing <udknight@gmail.com>
Thu, 5 May 2016 15:08:22 +0000 (23:08 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 11 May 2016 18:55:31 +0000 (21:55 +0300)
commit976aff5fc94b0a505ccd85391f0e82c3d2d031e9
treede64f1c876a4bd4153e00de3ff7cfec4579665f1
parent496aec577b5183716ed9d8bcc853ad9003485fe8
rtlwifi: Remove double check for cnt_after_linked

rtl_lps_enter does two successive check for cnt_after_linked
to make sure some time has elapsed after linked. The second
check isn't necessary, because if cnt_after_linked is bigger
than 5, it is bigger than 2 of course!

This patch remove the second check code.

Signed-off-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/ps.c