[PATCH 3/3] blk-mq: remove the error_count from struct request

From: Willy Tarreau
Date: Sun May 08 2022 - 05:49:55 EST


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 <torvalds@xxxxxxxxxxxxxxxxxxx>
Cc: Minh Yuan <yuanmingbuaa@xxxxxxxxx>
Cc: Denis Efremov <efremov@xxxxxxxxx>,
Cc: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Cc: Christoph Hellwig <hch@xxxxxx>
Signed-off-by: Willy Tarreau <w@xxxxxx>
---
include/linux/blk-mq.h | 1 -
1 file changed, 1 deletion(-)

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 */
};


--
2.17.5