mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
When debugging via PRINTK() is not enabled, make the PRINTK() macro be an empty do-while block. Thix fixes a gcc warning when -Wextra is set: ../drivers/atm/nicstar.c:1819:23: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body] I have verified that there is no object code change (with gcc 7.5.0). Signed-off-by: Randy Dunlap <[email protected]> Cc: Chas Williams <[email protected]> Cc: [email protected] Cc: [email protected] Cc: David S. Miller <[email protected]> Signed-off-by: David S. Miller <[email protected]>