git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3183c6
)
pinctrl: remove minor dead code
author
Michael Opdenacker
<michael.opdenacker@free-electrons.com>
Tue, 29 Oct 2013 03:50:45 +0000
(
04:50
+0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 4 Nov 2013 12:07:05 +0000
(13:07 +0100)
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>
No differences found