commit | 21ec672ecf18dd80e58936b0687da9098913c810 | [log] [tgz] |
---|---|---|
author | Tian Tao <tiantao6@hisilicon.com> | Tue Jan 26 10:40:02 2021 +0800 |
committer | Mike Snitzer <snitzer@redhat.com> | Wed Feb 03 10:10:05 2021 -0500 |
tree | 2b392798e4c1e64cf88022caf9dc061b10c8c847 | |
parent | cb728484a7710c202f02b96aa0962ce9b07aa5c2 [diff] |
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: Tian Tao <tiantao6@hisilicon.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>