From: David Sterba Date: Tue, 21 Nov 2023 01:50:13 +0000 (+0100) Subject: btrfs: scrub: remove unused scrub_ctx::sectors_per_bio X-Git-Tag: v6.8-rc1~155^2~80 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=a5e182d85fa55557496ad751c88a37f3c0590242;p=linux-2.6-block.git btrfs: scrub: remove unused scrub_ctx::sectors_per_bio 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 . Reviewed-by: Qu Wenruo Reviewed-by: Anand Jain Reviewed-by: Johannes Thumshirn Signed-off-by: David Sterba --- 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;