pinctrl: remove superfluous optimization in pinctrl_select_state_locked
authorRichard Genoud <richard.genoud@gmail.com>
Thu, 28 Mar 2013 11:55:47 +0000 (12:55 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 3 Apr 2013 12:22:39 +0000 (14:22 +0200)
As Stephen Warren suggested, checking first if the setting->node entry
is the first in the list or not is superfluous, as it is checked again
in the list_for_each_entry bellow.
So, remove it, the code will be simpler and lighter !

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found