From 46c5b6f0747a74a1db99585cd5f8e31c8835dbea Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Wed, 17 Apr 2024 16:00:09 -0500 Subject: [PATCH] virtio: Remove unneeded forward declaration of virtio_feature_name() This function is always used after its definition, remove the unneeded forward declaration. Signed-off-by: Andrew Davis --- lib/virtio/virtio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/virtio/virtio.c b/lib/virtio/virtio.c index cfdb4b591..b7a332126 100644 --- a/lib/virtio/virtio.c +++ b/lib/virtio/virtio.c @@ -4,10 +4,8 @@ * * SPDX-License-Identifier: BSD-2-Clause */ -#include -static const char *virtio_feature_name(unsigned long feature, - const struct virtio_feature_desc *); +#include /* * TODO :