diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-16 21:40:26 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:42 -0500 |
commit | defd9e39b59961ea0fd774020fb5c05dba199412 (patch) | |
tree | 25875b3bd5b7af3a67b159c9ca674ccc76967c0d /fs/bcachefs/util.c | |
parent | 559e6c23367f4c122834e7bf4eeac0a3ac382149 (diff) | |
download | linux-stable-defd9e39b59961ea0fd774020fb5c05dba199412.tar.gz linux-stable-defd9e39b59961ea0fd774020fb5c05dba199412.tar.bz2 linux-stable-defd9e39b59961ea0fd774020fb5c05dba199412.zip |
bcachefs: darray_for_each() now declares loop iter
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/util.c')
-rw-r--r-- | fs/bcachefs/util.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/bcachefs/util.c b/fs/bcachefs/util.c index e85b1f467295..00ddd91ddfcc 100644 --- a/fs/bcachefs/util.c +++ b/fs/bcachefs/util.c @@ -297,8 +297,6 @@ int bch2_save_backtrace(bch_stacktrace *stack, struct task_struct *task) void bch2_prt_backtrace(struct printbuf *out, bch_stacktrace *stack) { - unsigned long *i; - darray_for_each(*stack, i) { prt_printf(out, "[<0>] %pB", (void *) *i); prt_newline(out); |