Files
linux/drivers/atm
Randy Dunlap 8a171c5cc9 atm: nicstar: fix if-statement empty body warning
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]>
2020-02-29 21:28:30 -08:00
..
2020-01-25 22:01:51 +01:00
2019-09-25 13:54:45 +02:00
2015-01-18 00:28:41 -05:00
2019-07-23 13:02:41 -07:00