Skip to content
Commit 0c8f8632 authored by Markus Elfring's avatar Markus Elfring Committed by Mike Snitzer
Browse files

dm snapshot: remove unnecessary NULL checks before vfree() calls



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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent ff658e9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment