diff options
author | Markus Elfring | 2015-11-05 17:10:22 +0100 |
---|---|---|
committer | Linus Walleij | 2015-11-17 11:49:50 +0100 |
commit | f10a2585811ebd503ddf8ebcc9a32166c7b4b05f (patch) | |
tree | 4d6aa9479915881bb5d4aba32d2636477f710fd7 /Documentation/devicetree/bindings/pinctrl/brcm,cygnus-gpio.txt | |
parent | Linux 4.4-rc1 (diff) | |
download | kernel-qcow2-linux-f10a2585811ebd503ddf8ebcc9a32166c7b4b05f.tar.gz kernel-qcow2-linux-f10a2585811ebd503ddf8ebcc9a32166c7b4b05f.tar.xz kernel-qcow2-linux-f10a2585811ebd503ddf8ebcc9a32166c7b4b05f.zip |
pinctrl: Delete unnecessary checks
The pinctrl_unregister() function tests whether its argument is NULL
and then returns immediately. Thus the test around the call is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/brcm,cygnus-gpio.txt')
0 files changed, 0 insertions, 0 deletions