commit | 808e657c5c709844074d47a4284c746070b0772c | [log] [tgz] |
---|---|---|
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | Tue Oct 29 04:50:45 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Mon Nov 04 13:07:05 2013 +0100 |
tree | 3d7c6f0c3b2fd353b104ddbba7c4cedc49c8f803 | |
parent | a3183c60e3e9be7abd830ebed904491625e07d2e [diff] |
pinctrl: remove minor dead code This removes a test whether the 'desc' variable is NULL. This possibility has already been eliminated by the below test earlier in the loop: if (desc == NULL) { dev_warn(pctldev->dev, "could not get pin desc for pin %d\n", pins[i]); continue; } Found with Coverity: CID #1090078 Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>