summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRichard Genoud <richard.genoud@gmail.com>2013-03-28 15:55:47 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-04-03 16:22:39 +0400
commit8009d5ff00df6ad595f2d389f2e32bd4b97aebf5 (patch)
tree57f7f3e21441f5865cda5700a519c3c8beda111e /net/unix/af_unix.c
parentda58751ca2490d5de3a0f7753fd7078c4285c2bc (diff)
downloadlinux-8009d5ff00df6ad595f2d389f2e32bd4b97aebf5.tar.xz
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 <richard.genoud@gmail.com> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions