Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: au1000_eth: Mark au1000_ReleaseDB() static

This fixes the following build warning:
```
drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes]
574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB)
| ^~~~~~~~~~~~~~~~
```

Signed-off-by: Johan Korsnes <johan.korsnes@gmail.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/20250323190450.111241-1-johan.korsnes@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Johan Korsnes and committed by
Jakub Kicinski
5e8df794 f3483c8e

+1 -1
+1 -1
drivers/net/ethernet/amd/au1000_eth.c
··· 571 571 return pDB; 572 572 } 573 573 574 - void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) 574 + static void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) 575 575 { 576 576 struct db_dest *pDBfree = aup->pDBfree; 577 577 if (pDBfree)