Skip to content

Commit

Permalink
examples/vhost_crypto: remove unused function
Browse files Browse the repository at this point in the history
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: f518821 ("examples/vhost_crypto: add sample application")
Cc: stable@dpdk.org

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
Acked-by: Marko Kovacevic <marko.kovacevic@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
  • Loading branch information
Fan Zhang authored and Ferruh Yigit committed Jun 20, 2019
1 parent 346c2c9 commit be7a951
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions examples/vhost_crypto/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit be7a951

Please sign in to comment.