summaryrefslogtreecommitdiff
path: root/mpathpersist/main.c
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2023-01-13 15:40:26 +0900
committerJinWang An <jinwang.an@samsung.com>2023-01-13 15:40:26 +0900
commit04a3d5d40c15f411ed71c6c7d28b5aa133bff4e8 (patch)
tree770dfdd842044ad918b6330061d6f4c2f0d31909 /mpathpersist/main.c
parent8f0f489d4cfb845f4a5ef00f84d20ddcee0fb228 (diff)
downloadmultipath-tools-04a3d5d40c15f411ed71c6c7d28b5aa133bff4e8.tar.gz
multipath-tools-04a3d5d40c15f411ed71c6c7d28b5aa133bff4e8.tar.bz2
multipath-tools-04a3d5d40c15f411ed71c6c7d28b5aa133bff4e8.zip
Imported Upstream version 0.9.2upstream/0.9.2
Diffstat (limited to 'mpathpersist/main.c')
-rw-r--r--mpathpersist/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mpathpersist/main.c b/mpathpersist/main.c
index 894e8c9..b661790 100644
--- a/mpathpersist/main.c
+++ b/mpathpersist/main.c
@@ -178,7 +178,6 @@ static int handle_args(int argc, char * argv[], int nline)
const char *device_name = NULL;
int num_prin_sa = 0;
int num_prout_sa = 0;
- int num_prout_param = 0;
int prin_flag = 0;
int prout_flag = 0;
int ret = 0;
@@ -263,11 +262,9 @@ static int handle_args(int argc, char * argv[], int nline)
case 'Y':
param_alltgpt = 1;
- ++num_prout_param;
break;
case 'Z':
param_aptpl = 1;
- ++num_prout_param;
break;
case 'K':
if (1 != sscanf (optarg, "%" SCNx64 "", &param_rk))
@@ -276,7 +273,6 @@ static int handle_args(int argc, char * argv[], int nline)
ret = MPATH_PR_SYNTAX_ERROR;
goto out;
}
- ++num_prout_param;
break;
case 'S':
@@ -286,7 +282,6 @@ static int handle_args(int argc, char * argv[], int nline)
ret = MPATH_PR_SYNTAX_ERROR;
goto out;
}
- ++num_prout_param;
break;
case 'P':
@@ -306,7 +301,6 @@ static int handle_args(int argc, char * argv[], int nline)
ret = MPATH_PR_SYNTAX_ERROR;
goto out;
}
- ++num_prout_param;
break;
case 's':