From: Michael Opdenacker Date: Tue, 29 Oct 2013 03:50:45 +0000 (+0100) Subject: pinctrl: remove minor dead code X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=808e657c5c709844074d47a4284c746070b0772c;p=pandora-kernel.git 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 Signed-off-by: Linus Walleij --- Reading git-diff-tree failed