diff --git a/drivers/md/bcache/super.c b/drivers/md/bcache/super.c index 3b724fa2b68dae350c6362262ade7a4144dfd549..1ae63374366c9d661ec42b7d7ab691d4f4c2bab6 100644 --- a/drivers/md/bcache/super.c +++ b/drivers/md/bcache/super.c @@ -1376,9 +1376,6 @@ static void cache_set_flush(struct closure *cl) struct btree *b; unsigned i; - if (!c) - closure_return(cl); - bch_cache_accounting_destroy(&c->accounting); kobject_put(&c->internal);