]> www.infradead.org Git - users/dwmw2/linux.git/commit
bcachefs: eytzinger self tests: loop cleanups
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 26 Nov 2024 11:12:36 +0000 (12:12 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 15 Mar 2025 01:02:13 +0000 (21:02 -0400)
commit217ad1d7c707e310f3f4b7eeb9b7ea48f4cf3821
treeb5d5f5668ecd8a23d255976e5b1ee3b67c7a8964
parentd54b82ecc415ae2e563e6087acaf0e3c5d24daf5
bcachefs: eytzinger self tests: loop cleanups

The iterator variable of eytzinger0_for_each() loops has been changed to
be locally scoped at some point, so remove variables defined outside the
loop that are now unused.  In addition and for clarity, use a different
variable inside those loops where an outside variable would be shadowed.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/util.c