Skip to content

Commit 2e3afb4

Browse files
wtarreautorvalds
authored andcommitted
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>
1 parent f3b10a3 commit 2e3afb4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

include/linux/blk-mq.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,6 @@ struct request {
163163
struct rb_node rb_node; /* sort/lookup */
164164
struct bio_vec special_vec;
165165
void *completion_data;
166-
int error_count; /* for legacy drivers, don't use */
167166
};
168167

169168

0 commit comments

Comments
 (0)