* [PATCH] dm: remove dummy definition of 'struct dm_table'
@ 2016-09-22 16:36 Andrey Ryabinin
0 siblings, 0 replies; only message in thread
From: Andrey Ryabinin @ 2016-09-22 16:36 UTC (permalink / raw)
To: Alasdair Kergon, Mike Snitzer, dm-devel; +Cc: linux-kernel, Andrey Ryabinin
There is no need for it.
Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
---
drivers/md/dm-ioctl.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index 966eb4b..2d5594e 100644
--- a/drivers/md/dm-ioctl.c
+++ b/drivers/md/dm-ioctl.c
@@ -36,14 +36,6 @@ struct hash_cell {
struct dm_table *new_map;
};
-/*
- * A dummy definition to make RCU happy.
- * struct dm_table should never be dereferenced in this file.
- */
-struct dm_table {
- int undefined__;
-};
-
struct vers_iter {
size_t param_size;
struct dm_target_versions *vers, *old_vers;
--
2.7.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-22 21:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-22 16:36 [PATCH] dm: remove dummy definition of 'struct dm_table' Andrey Ryabinin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).