Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1453474 > unrolled thread

[PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration.

Started byJohn Pittman <jpittman@redhat.com>
First post2016-08-01 23:10 +0200
Last post2016-08-01 23:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration. John Pittman <jpittman@redhat.com> - 2016-08-01 23:10 +0200

#1453474 — [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration.

FromJohn Pittman <jpittman@redhat.com>
Date2016-08-01 23:10 +0200
Subject[PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration.
Message-ID<s1sDf-3lW-5@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web