From: Fan Zhang Date: Wed, 15 May 2019 16:25:48 +0000 (+0100) Subject: examples/vhost_crypto: remove unused function X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=be7a9518da654abba52939e9334919598669a086;hp=346c2c954e85c1769f09afd1cf75182d1f705c3e;p=dpdk.git examples/vhost_crypto: remove unused function This patch tries to fix the coverity issue of unchecked return value. Since the function that causes the problem is unused, it is removed completely. Coverity issue: 336816 Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Cc: stable@dpdk.org Signed-off-by: Fan Zhang Reviewed-by: Jens Freimann Acked-by: Marko Kovacevic Reviewed-by: Maxime Coquelin --- diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index ac7118e7eb..cfb9dfda29 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -354,12 +354,6 @@ static const struct vhost_device_ops virtio_crypto_device_ops = { .destroy_device = destroy_device, }; -__attribute__((unused)) -static void clrscr(void) -{ - system("@cls||clear"); -} - static int vhost_crypto_worker(void *arg) {