]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Staging: rtl8188eu: Refactor conditional code to increase readability
authorVatika Harlalka <vatikaharlalka@gmail.com>
Thu, 26 Feb 2015 17:35:11 +0000 (23:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:56:58 +0000 (12:56 -0800)
commit294a7fcc85f5fbfdec782c5fad590b49735a35c4
treeae33695e53ac5f9f22549de531993a995ff8468f
parent4ceb7f723372336f4d9e1ccfe7697a08eff2860f
Staging: rtl8188eu: Refactor conditional code to increase readability

Remove the nested conditionals. The if and else-if have the same
code so they are combined to make the code more compact.

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