From 7c054a7e1458c42c882aaeda47c84a1d45247bd0 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Wed, 15 May 2019 17:25:48 +0100 Subject: [PATCH] examples/vhost_crypto: remove unused function [ upstream commit be7a9518da654abba52939e9334919598669a086 ] 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") Signed-off-by: Fan Zhang Reviewed-by: Jens Freimann Acked-by: Marko Kovacevic Reviewed-by: Maxime Coquelin --- examples/vhost_crypto/main.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index 3deb5263fd..c6d55c8404 100644 --- a/examples/vhost_crypto/main.c +++ b/examples/vhost_crypto/main.c @@ -352,12 +352,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) {