git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff658e9
)
dm snapshot: remove unnecessary NULL checks before vfree() calls
author
Markus Elfring
<elfring@users.sourceforge.net>
Mon, 2 Feb 2015 13:38:29 +0000
(14:38 +0100)
committer
Mike Snitzer
<snitzer@redhat.com>
Mon, 9 Feb 2015 18:06:49 +0000
(13:06 -0500)
The vfree() function performs input parameter validation.
Thus the NULL pointer test around vfree() calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
No differences found