diff mbox series

[ndctl,v3,2/2] daxctl: Remove unused options in create-device usage message

Message ID 20240606035149.1030610-2-lizhijian@fujitsu.com (mailing list archive)
State Accepted
Commit 67afbf10f5e0bda8dac3a3b5ac057ec147cfb440
Headers show
Series [ndctl,v3,1/2] daxctl: Fail create-device if extra parameters are present | expand

Commit Message

Zhijian Li (Fujitsu) June 6, 2024, 3:51 a.m. UTC
RECONFIG_OPTIONS and ZONE_OPTIONS are not implemented for create-device
and they will be ignored by create-device. Remove them so that the usage
message is identical to the manual.

Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
---
V3:
  Collect reviewed-by tags.
  update subject # Aliso

V2: make the usage match the manual because the usage is wrong.
---
 daxctl/device.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/daxctl/device.c b/daxctl/device.c
index 6ea91eb45315..dc166d593336 100644
--- a/daxctl/device.c
+++ b/daxctl/device.c
@@ -98,8 +98,6 @@  OPT_BOOLEAN('\0', "no-movable", &param.no_movable, \
 static const struct option create_options[] = {
 	BASE_OPTIONS(),
 	CREATE_OPTIONS(),
-	RECONFIG_OPTIONS(),
-	ZONE_OPTIONS(),
 	OPT_END(),
 };