]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bcachefs: kill dead code in move_data_phys()
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 9 May 2025 19:16:14 +0000 (15:16 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Thu, 22 May 2025 00:14:50 +0000 (20:14 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/move.c

index ff56d8886c328d0e6e3b7c7165370689fd9ed5d7..42076aa3438b5c4f7e50376516fca0f5e8068511 100644 (file)
@@ -849,10 +849,6 @@ static int __bch2_move_data_phys(struct moving_context *ctxt,
 
        bch2_trans_iter_init(trans, &bp_iter, BTREE_ID_backpointers, bp_start, 0);
 
-       bch_err_msg(c, ret, "looking up alloc key");
-       if (ret)
-               goto err;
-
        ret = bch2_btree_write_buffer_tryflush(trans);
        if (!bch2_err_matches(ret, EROFS))
                bch_err_msg(c, ret, "flushing btree write buffer");