linux/drivers/net/ethernet/smsc
Andrew Lunn dd5fdb3f97 drivers: net: smc911x: Fix passing wrong number of parameters to DBG() macro
Now that the compiler always sees the parameters passed to the DBG()
macro, it gives an error message about wrong parameters. The comment
says it all:

	/* ndev is not valid yet, so avoid passing it in. */
	DBG(SMC_DEBUG_FUNC, "--> %s\n",  __func__);

You cannot not just pass a parameter!

The DBG does not seem to have any real value, to just remove it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-12 14:49:40 -08:00
..
epic100.c epic100: switch from 'pci_' to 'dma_' API 2020-09-03 16:53:11 -07:00
Kconfig docs: networking: reorganize driver documentation again 2020-06-26 16:08:44 -07:00
Makefile
smc91c92_cs.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
smc91x.c drivers: net: smc91x: Fix missing kerneldoc reported by W=1 2020-11-12 14:49:39 -08:00
smc91x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smc911x.c drivers: net: smc911x: Fix passing wrong number of parameters to DBG() macro 2020-11-12 14:49:40 -08:00
smc911x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smc9194.c netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
smc9194.h
smsc911x.c net: smsc911x: Remove unused variables 2020-09-08 19:52:45 -07:00
smsc911x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsc9420.c smsc9420: switch from 'pci_' to 'dma_' API 2020-09-03 16:53:28 -07:00
smsc9420.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00