Skip to content

Commit

Permalink
examples/vhost_crypto: remove unused short option
Browse files Browse the repository at this point in the history
Short option "s" was passed to getopt_long function, while there was
no condition on this option.

Fixes: f518821 ("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>
  • Loading branch information
ibtisam-tariq authored and chenbo-xia committed Mar 31, 2021
1 parent af584d2 commit dd0946f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/vhost_crypto/main.c
Expand Up @@ -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 == '?') {
Expand Down

0 comments on commit dd0946f

Please sign in to comment.