Skip to content
Commit 21ec672e authored by Tian Tao's avatar Tian Tao Committed by Mike Snitzer
Browse files

dm writecache: fix unnecessary NULL check warnings



Remove NULL checks before vfree() to fix these warnings:
./drivers/md/dm-writecache.c:2008:2-7: WARNING: NULL check before some
freeing functions is not needed.
./drivers/md/dm-writecache.c:2024:2-7: WARNING: NULL check before some
freeing functions is not needed.

Signed-off-by: default avatarTian Tao <tiantao6@hisilicon.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent cb728484
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment