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 authored and Gedare Bloom committed 2025-09-26 22:38:34 +00:00
1 parent c4698dfc0c
commit d8977880ca
1 file changed
+4
+4
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)
{
(void) arg;
char prefix[32];
int depth = dev->parent->depth;
@@ -250,6 +252,8 @@ void drvmgr_summary(void)
static void print_info(void *p, char *str)
{
(void) p;
printf(" ");
puts(str);
}