summaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/com20020-pci.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2015-05-05 20:05:54 +0300
committerMichael Grzeschik <m.grzeschik@pengutronix.de>2015-09-23 09:44:24 +0300
commit72aeea4841c037b9b3abf65859673cbd7b6664a9 (patch)
treec3971feaa487b367d3055d39de981ad86562196b /drivers/net/arcnet/com20020-pci.c
parentd77510f3436e0db9b5e72fa8159ce26c3ac88d2d (diff)
downloadlinux-72aeea4841c037b9b3abf65859673cbd7b6664a9.tar.xz
arcnet: Expand odd BUGLVL macro with if and uses
Don't hide what should be obvious. Make the macro a simple test instead of using if and test. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Diffstat (limited to 'drivers/net/arcnet/com20020-pci.c')
-rw-r--r--drivers/net/arcnet/com20020-pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/arcnet/com20020-pci.c b/drivers/net/arcnet/com20020-pci.c
index 72334b59aa26..c8184de4480d 100644
--- a/drivers/net/arcnet/com20020-pci.c
+++ b/drivers/net/arcnet/com20020-pci.c
@@ -402,7 +402,8 @@ static struct pci_driver com20020pci_driver = {
static int __init com20020pci_init(void)
{
- BUGLVL(D_NORMAL) printk(VERSION);
+ if (BUGLVL(D_NORMAL))
+ printk(VERSION);
return pci_register_driver(&com20020pci_driver);
}