From: Richard Genoud Date: Thu, 28 Mar 2013 11:55:47 +0000 (+0100) Subject: pinctrl: remove superfluous optimization in pinctrl_select_state_locked X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~141^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8009d5ff00df6ad595f2d389f2e32bd4b97aebf5;p=pandora-kernel.git pinctrl: remove superfluous optimization in pinctrl_select_state_locked 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 Reviewed-by: Stephen Warren Signed-off-by: Linus Walleij --- Reading git-diff-tree failed