diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-27 10:50:52 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2014-10-30 23:58:49 +0100 |
commit | 97cccfbf1c000e597cf751e26284614a15f77cb5 (patch) | |
tree | 0aba90a238c16903d96a120e7b12ad7a02f4fdb5 /lib/commands | |
parent | 87fc3b710c3b8fc656dcf48ec453e1da280ec696 (diff) | |
download | lvm2-97cccfbf1c000e597cf751e26284614a15f77cb5.tar.gz |
segtype: drop cmdcontex pointer
Users of context provide their cmd pointer,
so don't keep it inside segtype.
Diffstat (limited to 'lib/commands')
-rw-r--r-- | lib/commands/toolcontext.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.c b/lib/commands/toolcontext.c index 72525f51e..3900179c5 100644 --- a/lib/commands/toolcontext.c +++ b/lib/commands/toolcontext.c @@ -1174,7 +1174,6 @@ int lvm_register_segtype(struct segtype_library *seglib, struct segment_type *segtype2; segtype->library = seglib->lib; - segtype->cmd = seglib->cmd; dm_list_iterate_items(segtype2, &seglib->cmd->segtypes) { if (strcmp(segtype2->name, segtype->name)) |