master - dmsetup: no need to check for "help" field name after report init
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=59ed4d3bf6b1aaf7c3db837251c60ff9004f0879 Commit: 59ed4d3bf6b1aaf7c3db837251c60ff9004f0879 Parent: c6d82c992b4a4271287233dbedc3a075fa03ca43 Author: Peter Rajnoha <[email protected]> AuthorDate: Thu Jun 19 18:20:30 2014 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Thu Jun 19 18:22:51 2014 +0200
dmsetup: no need to check for "help" field name after report init
The "help" field (as well as "?") is implicit now - libdevmapper takes care of it completely.
--- tools/dmsetup.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
tools/dmsetup.c +0 -3
@@ -2948,9 +2948,6 @@ static int _report_init(const struct command *cmd) r =1 ; out: -if (!strcasecmp (options,"help" ) || !strcmp (options,"?" )) - r =1 ; -if (len)dm_free (options);