]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - libbcachefs/btree_gc.c
Update bcachefs sources to 5d0a6c2b32f1 bcachefs: check_directory_structure() can...
[bcachefs-tools-debian] / libbcachefs / btree_gc.c
index c608223e60772f4a7cc637eda3f2bdc0d51e91b1..ea1d0ed70f5022e2793d9d4c01b075c6568a112b 100644 (file)
@@ -1987,7 +1987,6 @@ static int bch2_gc_thread(void *arg)
        struct io_clock *clock = &c->io_clock[WRITE];
        unsigned long last = atomic64_read(&clock->now);
        unsigned last_kick = atomic_read(&c->kick_gc);
-       int ret;
 
        set_freezable();
 
@@ -2027,7 +2026,7 @@ static int bch2_gc_thread(void *arg)
 #if 0
                ret = bch2_gc(c, false, false);
 #else
-               ret = bch2_gc_gens(c);
+               bch2_gc_gens(c);
 #endif
                debug_check_no_locks_held();
        }