summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2020-11-10 06:02:46 +0300
committerJakub Kicinski <kuba@kernel.org>2020-11-13 01:49:40 +0300
commitdd5fdb3f978595bd1866e657b067cd1ed8bf364b (patch)
tree9afdb5a38cbf525bfeca3f483ec47bd5c02155e5 /net
parent40f6d1d9159b920e7b2722375506ecf86c633b95 (diff)
downloadlinux-dd5fdb3f978595bd1866e657b067cd1ed8bf364b.tar.xz
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions