From: Ibtisam Tariq Date: Thu, 4 Feb 2021 08:05:42 +0000 (+0000) Subject: examples/vhost_crypto: remove unused short option X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=dd0946f975bac65ab680adcd389295cc56ad78e1;p=dpdk.git examples/vhost_crypto: remove unused short option Short option "s" was passed to getopt_long function, while there was no condition on this option. Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Cc: stable@dpdk.org Signed-off-by: Ibtisam Tariq Acked-by: Fan Zhang Reviewed-by: Maxime Coquelin --- diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index efae997815..7ed38fedf2 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -229,7 +229,7 @@ vhost_crypto_parse_args(int argc, char **argv) argvopt = argv; - while ((opt = getopt_long(argc, argvopt, "s:", + while ((opt = getopt_long(argc, argvopt, "", lgopts, &option_index)) != EOF) { if (opt == '?') {