diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2014-11-19 11:38:38 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-27 04:41:15 +0100 |
commit | daa3d67fa3b5a997761ba594c6bca41b3e78963f (patch) | |
tree | 2430ce99e1ce93da854d7d60636fe34ad034e170 /drivers/regulator/s2mpa01.c | |
parent | firmware loader: fix hung task warning dump (diff) | |
download | linux-daa3d67fa3b5a997761ba594c6bca41b3e78963f.tar.xz linux-daa3d67fa3b5a997761ba594c6bca41b3e78963f.zip |
firmware class: Deletion of an unnecessary check before the function call "vunmap"
The vunmap() function performes also input parameter validation. 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/regulator/s2mpa01.c')
0 files changed, 0 insertions, 0 deletions