dm snapshot: remove unnecessary NULL checks before vfree() calls
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 2 Feb 2015 13:38:29 +0000 (14:38 +0100)
committerMike 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