Skip to content

Commit

Permalink
blk-mq: remove the error_count from struct request
Browse files Browse the repository at this point in the history
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 <[email protected]>
Cc: Minh Yuan <[email protected]>
Cc: Denis Efremov <[email protected]>,
Cc: Geert Uytterhoeven <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
wtarreau authored and torvalds committed May 8, 2022
1 parent f3b10a3 commit 2e3afb4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/linux/blk-mq.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
};


Expand Down

0 comments on commit 2e3afb4

Please sign in to comment.