summaryrefslogtreecommitdiff
path: root/fs/bcachefs/keylist.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-12-21 22:24:46 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-23 17:08:31 -0500
commit33382d62b463166b4f6302f0d8cb37fb49e9fcfd (patch)
tree4aff2212763b09fc6912aef67a8cfb8018b1bde5 /fs/bcachefs/keylist.c
parent86d0903d4cda41f04e922272fafaaf5c2ae2c56c (diff)
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.c2
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));