From: Willy Tarreau Date: Sun, 8 May 2022 09:37:09 +0000 (+0200) Subject: blk-mq: remove the error_count from struct request X-Git-Tag: xarray-6.0~514 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2e3afb42dd480d755cd7d97ca04586a5616c1a5e;p=users%2Fwilly%2Fxarray.git blk-mq: remove the error_count from struct request The last two users were floppy.c and ataflop.c respectively, it was verified that no other drivers makes use of this, so let's remove it. Suggested-by: Linus Torvalds Cc: Minh Yuan Cc: Denis Efremov , Cc: Geert Uytterhoeven Cc: Christoph Hellwig Signed-off-by: Willy Tarreau Signed-off-by: Linus Torvalds --- diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h index 7aa5c54901a9..9f07061418db 100644 --- a/include/linux/blk-mq.h +++ b/include/linux/blk-mq.h @@ -163,7 +163,6 @@ struct request { struct rb_node rb_node; /* sort/lookup */ struct bio_vec special_vec; void *completion_data; - int error_count; /* for legacy drivers, don't use */ };