Skip to content

Commit

Permalink
virtio: Remove unneeded forward declaration of virtio_feature_name()
Browse files Browse the repository at this point in the history
This function is always used after its definition,
remove the unneeded forward declaration.

Signed-off-by: Andrew Davis <[email protected]>
  • Loading branch information
glneo committed Apr 23, 2024
1 parent f939a86 commit 98da8db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/virtio/virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <openamp/virtio.h>

static const char *virtio_feature_name(unsigned long feature,
const struct virtio_feature_desc *);
#include <openamp/virtio.h>

/*
* TODO :
Expand Down

0 comments on commit 98da8db

Please sign in to comment.