]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8188eu: replace while with shorter for loop
authorMichael Straube <straube.linux@gmail.com>
Sat, 7 Jul 2018 11:22:50 +0000 (13:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 14:48:24 +0000 (16:48 +0200)
commit949b1dae6725a1a7ecda3d3d6e915fc56cfded54
tree5c08ebe4663637331c2c06932462fa97fad0068a
parent7de215d45a78df353895154b943364b7eb9f0d58
staging: rtl8188eu: replace while with shorter for loop

Simplify rtw_get_rateset_len() by replacing the while loop
with a shorter for loop. Also replace tabs with spaces in
the definition line.

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