Staging: rtl8188eu: Combine two loops to increase readability
authorVatika Harlalka <vatikaharlalka@gmail.com>
Thu, 26 Feb 2015 18:17:39 +0000 (23:47 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:56:58 +0000 (12:56 -0800)
commit4ceb7f723372336f4d9e1ccfe7697a08eff2860f
treecc9fdeb8f952df25afdc881b3098946ebcd23ba8
parent1d6871f8dc2351f8fdb9cc47a6ef2b3b189ed640
Staging: rtl8188eu: Combine two loops to increase readability

The first loop assigns values to ofdm_index array and the
second checks for boundary conditions. They are combined and
a comment is added to increase clarity.

Signed-off-by: Vatika Harlalka <vatikaharlalka@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/phy.c