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>
This commit is contained in:

committed by
Michael Grzeschik

parent
d77510f343
commit
72aeea4841
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user