diff options
author | JinWang An <jinwang.an@samsung.com> | 2023-01-13 15:40:26 +0900 |
---|---|---|
committer | JinWang An <jinwang.an@samsung.com> | 2023-01-13 15:40:26 +0900 |
commit | 04a3d5d40c15f411ed71c6c7d28b5aa133bff4e8 (patch) | |
tree | 770dfdd842044ad918b6330061d6f4c2f0d31909 /mpathpersist/main.c | |
parent | 8f0f489d4cfb845f4a5ef00f84d20ddcee0fb228 (diff) | |
download | multipath-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.c | 6 |
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 "", ¶m_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': |