summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2022-05-08 11:37:09 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2022-05-08 10:01:48 -0700
commit2e3afb42dd480d755cd7d97ca04586a5616c1a5e (patch)
tree71c0e9358777b90dcffe2dc2d53d3c7e8decc9a2
parentf3b10a3c22c6a5f1d623b70eca2b4d1efafccd71 (diff)
downloadlinux-2e3afb42dd480d755cd7d97ca04586a5616c1a5e.tar.bz2
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 <torvalds@linuxfoundation.org> Cc: Minh Yuan <yuanmingbuaa@gmail.com> Cc: Denis Efremov <efremov@linux.com>, Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/blk-mq.h1
1 files changed, 0 insertions, 1 deletions
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 */
};