From eda3e06d868640a7e655a683489da79a5ea4a251 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Wed, 3 Sep 2008 19:18:29 +0300 Subject: ubirmvol: learn to remove volume by name Add -N option to ubirmvol to support deleting volumes by name. Signed-off-by: Artem Bityutskiy --- ubi-utils/new-utils/src/ubimkvol.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'ubi-utils/new-utils/src/ubimkvol.c') diff --git a/ubi-utils/new-utils/src/ubimkvol.c b/ubi-utils/new-utils/src/ubimkvol.c index ad072c4..26ddda2 100644 --- a/ubi-utils/new-utils/src/ubimkvol.c +++ b/ubi-utils/new-utils/src/ubimkvol.c @@ -43,7 +43,6 @@ struct args { int lebs; int alignment; const char *name; - int nlen; const char *node; int maxavs; /* For deprecated -d option handling */ @@ -182,7 +181,6 @@ static int parse_opt(int argc, char * const argv[]) case 'N': args.name = optarg; - args.nlen = strlen(args.name); break; case 'h': -- cgit v1.2.3