On Tue, Oct 29, 2013 at 4:50 AM, Michael Opdenacker <michael.opdenac...@free-electrons.com> wrote:
> 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.opdenac...@free-electrons.com> Pretty cool find! Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/