Skip to contentSkip to conversation

dm: remove dummy definition of 'struct dm_table'

PATCH New Andrey Ryabinin 1 participant 1 message Sep 22, 2016 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dm: remove dummy definition of 'struct dm_table'

There is no need for it.

---
 drivers/md/dm-ioctl.c | 8 --------
 1 file changed, 8 deletions(-)
drivers/md/dm-ioctl.c +0 -8
index 966eb4b..2d5594e 100644
@@ -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;
Signature · 1 line
2.7.3