]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: gpio-twl4030.c: Cleaning up null pointer checks that could never happen
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 26 Jun 2014 16:17:21 +0000 (18:17 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Jul 2014 10:22:55 +0000 (12:22 +0200)
commit50a62aea194140785108f6fc9b64866b467f4dad
tree3a9853857bccc302e268b41d38aa462152f978c4
parentb63b04cb2119447ccd4fc71440a693d9cf82b1d1
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>
drivers/gpio/gpio-twl4030.c