mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
dmsetup: remove dead code that covered "info -c -o help" case once
The "-o help" is now handled as implicit field and it gets processed just like any other field - all handled by libdevmapper now.
This commit is contained in:
parent
cf700151eb
commit
ca0d9a70d1
@ -3857,15 +3857,8 @@ unknown:
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (_switches[COLS_ARG]) {
|
||||
if (!_report_init(cmd))
|
||||
goto out;
|
||||
if (!_report) {
|
||||
if (!strcmp(cmd->name, "info"))
|
||||
r = 0; /* info -c -o help */
|
||||
goto out;
|
||||
}
|
||||
}
|
||||
if (_switches[COLS_ARG] && !_report_init(cmd))
|
||||
goto out;
|
||||
|
||||
#ifdef UDEV_SYNC_SUPPORT
|
||||
if (!_set_up_udev_support(dev_dir))
|
||||
|
Loading…
Reference in New Issue
Block a user