mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration.
@ 2016-08-01 20:35 John Pittman
  2016-08-01 20:37 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: John Pittman @ 2016-08-01 20:35 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel, kernel-janitors, John Pittman

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

Signed-off-by: John Pittman <jpittman@redhat.com>
---
 include/linux/blkdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index adf3307..de79359 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -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)
-- 
2.5.5

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration.
  2016-08-01 20:35 [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration John Pittman
@ 2016-08-01 20:37 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2016-08-01 20:37 UTC (permalink / raw)
  To: John Pittman; +Cc: linux-kernel, kernel-janitors

On 08/01/2016 02:35 PM, John Pittman wrote:
> In include/linux/blkdev.h duplicate declarations of the request
> struct exist.  Cleaned up by removing the second, unneeded
> declaration.

Thanks, applied.

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-01 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-01 20:35 [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration John Pittman
2016-08-01 20:37 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®