[Devel,RHEL7,COMMIT] ms/dm: remove dummy definition of 'struct dm_table' from dm-ioctl.c

Submitted by Konstantin Khorenko on Sept. 23, 2016, 2:15 p.m.

Details

Message ID 201609231415.u8NEFCL2018966@finist_cl7.x64_64.work.ct
State New
Series "Series without cover letter"
Headers show

Commit Message

Konstantin Khorenko Sept. 23, 2016, 2:15 p.m.
The commit is pushed to "branch-rh7-3.10.0-327.28.2.vz7.17.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-327.28.2.vz7.17.9
------>
commit 1347427ba3370f15348561cc4ca46c402b85c984
Author: Andrey Ryabinin <aryabinin@virtuozzo.com>
Date:   Fri Sep 23 18:15:12 2016 +0400

    ms/dm: remove dummy definition of 'struct dm_table' from dm-ioctl.c
    
    There is no need for it.
    
    https://jira.sw.ru/browse/PSBM-50727
    
    Signed-off-by: Andrey Ryabinin <aryabinin@virtuozzo.com>
---
 drivers/md/dm-ioctl.c | 8 --------
 1 file changed, 8 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index 720ceeb..0fe4233 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;