From 59ed4d3bf6b1aaf7c3db837251c60ff9004f0879 Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Thu, 19 Jun 2014 18:20:30 +0200 Subject: [PATCH] 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 file changed, 3 deletions(-) diff --git a/tools/dmsetup.c b/tools/dmsetup.c index 454141ec2..c679c52e5 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -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); -- 2.43.5