Re: [PATCH] staging: rtl8188eu: replace while with shorter for loop

2018-07-07 Thread Greg KH
On Sat, Jul 07, 2018 at 01:22:50PM +0200, Michael Straube wrote: > Simplify rtw_get_rateset_len() by replacing the while loop > with a shorter for loop. Also replace tabs with spaces in > the definition line. Normally I will insist that this be two separate patches, as you are doing two different

[PATCH] staging: rtl8188eu: replace while with shorter for loop

2018-07-07 Thread Michael Straube
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 --- drivers/staging/rtl8188eu/core/rtw_ieee80211.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --g