examples/vhost_crypto: remove unused short option
authorIbtisam Tariq <ibtisam.tariq@emumba.com>
Thu, 4 Feb 2021 08:05:42 +0000 (08:05 +0000)
committerChenbo Xia <chenbo.xia@intel.com>
Wed, 31 Mar 2021 08:02:18 +0000 (10:02 +0200)
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 <ibtisam.tariq@emumba.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
examples/vhost_crypto/main.c

index efae997..7ed38fe 100644 (file)
@@ -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 == '?') {