aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/arcnet/com20020.c
diff options
context:
space:
mode:
authorGravatar Joe Perches <joe@perches.com> 2015-05-05 10:05:54 -0700
committerGravatar Michael Grzeschik <m.grzeschik@pengutronix.de> 2015-09-23 08:44:24 +0200
commit72aeea4841c037b9b3abf65859673cbd7b6664a9 (patch)
treec3971feaa487b367d3055d39de981ad86562196b /drivers/net/arcnet/com20020.c
parentarcnet: Neaten BUGMSG macro defines (diff)
downloadlinux-72aeea4841c037b9b3abf65859673cbd7b6664a9.tar.gz
linux-72aeea4841c037b9b3abf65859673cbd7b6664a9.tar.bz2
linux-72aeea4841c037b9b3abf65859673cbd7b6664a9.zip
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.c')
-rw-r--r--drivers/net/arcnet/com20020.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/arcnet/com20020.c b/drivers/net/arcnet/com20020.c
index 63697272f146..3170e8ebb7fa 100644
--- a/drivers/net/arcnet/com20020.c
+++ b/drivers/net/arcnet/com20020.c
@@ -365,7 +365,8 @@ MODULE_LICENSE("GPL");
static int __init com20020_module_init(void)
{
- BUGLVL(D_NORMAL) printk(VERSION);
+ if (BUGLVL(D_NORMAL))
+ printk(VERSION);
return 0;
}