Skip to contentSkip to conversation

Include: blkdev: Removed duplicate 'struct request;' declaration.

PATCH Applied John Pittman 2 participants 2 messages Aug 1, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Include: blkdev: Removed duplicate 'struct request;' declaration.

In include/linux/blkdev.h duplicate declarations of the request struct exist. Cleaned up by removing the second, unneeded declaration.

---
 include/linux/blkdev.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/blkdev.h +0 -1
index adf3307..de79359 100644
@@ -47,7 +47,6 @@ struct pr_ops;
  */
 #define BLKCG_MAX_POLS		2
 
-struct request;
 typedef void (rq_end_io_fn)(struct request *, int);
 
 #define BLK_RL_SYNCFULL		(1U << 0)
Signature · 1 line
2.5.5
Applied
#1 lore raw
Quoted 3 lines · John Pittman

In include/linux/blkdev.h duplicate declarations of the request struct exist. Cleaned up by removing the second, unneeded declaration.

Thanks, applied.

Signature · 1 line
Jens Axboe