Skip to content

Commit

Permalink
virtio-snd: remove unused min function
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Brown <[email protected]>
  • Loading branch information
alexandermbrown committed May 6, 2024
1 parent 663da31 commit b7afe3a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tools/linux/uio_drivers/snd/queue.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ struct queue
void *data;
};

static int min(int a, int b)
{
return a <= b ? a : b;
}

queue_t *queue_create(int item_size, int initial_capacity)
{
void *data = calloc(initial_capacity, item_size);
Expand Down

0 comments on commit b7afe3a

Please sign in to comment.