From dd0946f975bac65ab680adcd389295cc56ad78e1 Mon Sep 17 00:00:00 2001 From: Ibtisam Tariq Date: Thu, 4 Feb 2021 08:05:42 +0000 Subject: [PATCH] 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 --- examples/vhost_crypto/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 == '?') { -- 2.20.1