gpio: gpio-twl4030.c: Cleaning up null pointer checks that could never happen

Removal of null pointer checks that could never happen

This was found using a static code analysis program called cppcheck

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Rickard Strandqvist 2014-06-26 18:17:21 +02:00 коммит произвёл Linus Walleij
Родитель 246a144eed
Коммит fe5e23d3c9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -554,7 +554,7 @@ no_irqs:
platform_set_drvdata(pdev, priv);
if (pdata && pdata->setup) {
if (pdata->setup) {
int status;
status = pdata->setup(&pdev->dev, priv->gpio_chip.base,