cpukit/libdrvmgr/*: Address unused parameter warnings

Add "(void) param;" annotation to address unused parameter warnings.
Found with GCC's warning -Wunused-paramter.
This commit is contained in:
Joel Sherrill
2025-09-25 19:10:29 -05:00
committed by Gedare Bloom
parent c4698dfc0c
commit d8977880ca

View File

@@ -100,6 +100,8 @@ void drvmgr_print_devs(unsigned int options)
static intptr_t drvmgr_topo_func(struct drvmgr_dev *dev, void *arg) static intptr_t drvmgr_topo_func(struct drvmgr_dev *dev, void *arg)
{ {
(void) arg;
char prefix[32]; char prefix[32];
int depth = dev->parent->depth; int depth = dev->parent->depth;
@@ -250,6 +252,8 @@ void drvmgr_summary(void)
static void print_info(void *p, char *str) static void print_info(void *p, char *str)
{ {
(void) p;
printf(" "); printf(" ");
puts(str); puts(str);
} }