summaryrefslogtreecommitdiff
path: root/lib/commands/toolcontext.h
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2013-06-12 11:38:48 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2013-06-12 11:44:58 +0200
commit657abb08e0e509e084d23d8b4dcf6248362cccd4 (patch)
treee37b261fb044a207f27254f878a31c7a7c89bd24 /lib/commands/toolcontext.h
parentbb70b38021992dd462a94d40527a315ce1e692fd (diff)
downloadlvm2-657abb08e0e509e084d23d8b4dcf6248362cccd4.tar.gz
cleanup: use libdm's dm_sysfs_dir() for sysfs directory throughout
And remove superfluous cmd->sysfs_dir and set_sysfs_dir_path/sysfs_dir_path fn from lvm-globals.[ch].
Diffstat (limited to 'lib/commands/toolcontext.h')
-rw-r--r--lib/commands/toolcontext.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/commands/toolcontext.h b/lib/commands/toolcontext.h
index b79ebe229..307dc77ae 100644
--- a/lib/commands/toolcontext.h
+++ b/lib/commands/toolcontext.h
@@ -113,7 +113,6 @@ struct cmd_context {
char system_dir[PATH_MAX];
char dev_dir[PATH_MAX];
char proc_dir[PATH_MAX];
- char sysfs_dir[PATH_MAX]; /* FIXME Use global value instead. */
};
/*