diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-22 04:24:46 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:43 +0100 |
commit | 1a2a9f9f53a6c4d77bc16062fcb65c7169fb6ed1 (patch) | |
tree | 4217077fa18739604b6f7e66726e8f11a790ed7c /fs/bcachefs/keylist.c | |
parent | bcachefs: bkey_for_each_ptr() now declares loop iter (diff) | |
download | linux-1a2a9f9f53a6c4d77bc16062fcb65c7169fb6ed1.tar.xz linux-1a2a9f9f53a6c4d77bc16062fcb65c7169fb6ed1.zip |
bcachefs: for_each_keylist_key() declares loop iter
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/keylist.c')
-rw-r--r-- | fs/bcachefs/keylist.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/keylist.c b/fs/bcachefs/keylist.c index 5699cd4873c8..1b828bddd11b 100644 --- a/fs/bcachefs/keylist.c +++ b/fs/bcachefs/keylist.c @@ -43,8 +43,6 @@ void bch2_keylist_pop_front(struct keylist *l) #ifdef CONFIG_BCACHEFS_DEBUG void bch2_verify_keylist_sorted(struct keylist *l) { - struct bkey_i *k; - for_each_keylist_key(l, k) BUG_ON(bkey_next(k) != l->top && bpos_ge(k->k.p, bkey_next(k)->k.p)); |