diff mbox series

[1/5] btrfs: scrub: remove unused scrub_ctx::sectors_per_bio

Message ID cfcdbbecd793694f097bfd9ff4b06e0e70e08e89.1700531088.git.dsterba@suse.com (mailing list archive)
State New, archived
Headers show
Series Remove some unused struct members | expand

Commit Message

David Sterba Nov. 21, 2023, 1:50 a.m. UTC
The recent scrub rewrite forgot to remove the sectors_per_bio in
6.3 in 13a62fd997f0 ("btrfs: scrub: remove scrub_bio structure").
This was found by tool https://github.com/jirislaby/clang-struct .

Signed-off-by: David Sterba <dsterba@suse.com>
---
 fs/btrfs/scrub.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/fs/btrfs/scrub.c b/fs/btrfs/scrub.c
index f62a408671cb..00826644bca8 100644
--- a/fs/btrfs/scrub.c
+++ b/fs/btrfs/scrub.c
@@ -192,7 +192,6 @@  struct scrub_ctx {
 	int			cur_stripe;
 	atomic_t		cancel_req;
 	int			readonly;
-	int			sectors_per_bio;
 
 	/* State of IO submission throttling affecting the associated device */
 	ktime_t			throttle_deadline;