From 8009d5ff00df6ad595f2d389f2e32bd4b97aebf5 Mon Sep 17 00:00:00 2001 From: Richard Genoud Date: Thu, 28 Mar 2013 12:55:47 +0100 Subject: [PATCH] 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-format-patch failed