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


Groups > linux.kernel > #1453474

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

From John Pittman <jpittman@redhat.com>
Newsgroups linux.kernel
Subject [PATCH] Include: blkdev: Removed duplicate 'struct request;' declaration.
Date 2016-08-01 23:10 +0200
Message-ID <s1sDf-3lW-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web