staging: rtl8723bs: replace while with shorter for loop
authorMichael Straube <straube.linux@gmail.com>
Sun, 8 Jul 2018 10:38:50 +0000 (12:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Jul 2018 15:41:15 +0000 (17:41 +0200)
commit058f285ed43c71565d19cc009c281e74a57fe75e
treee01db00b22f904179cdf9886d8968607db7f0fa1
parent0bde13ed847923dfb55185c5280b7390f627dc80
staging: rtl8723bs: replace while with shorter for loop

Simplify rtw_get_rateset_len() by replacing the while loop
with a shorter for loop.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ieee80211.c