]> git.baikalelectronics.ru Git - kernel.git/commitdiff
blk-mq: remove the error_count from struct request
authorWilly Tarreau <w@1wt.eu>
Sun, 8 May 2022 09:37:09 +0000 (11:37 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 8 May 2022 17:01:48 +0000 (10:01 -0700)
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>
include/linux/blk-mq.h

index 7aa5c54901a93adcbca8881bdd68d759bc47781e..9f07061418db01cb60ac33a45a48bacb54329855 100644 (file)
@@ -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 */
        };