diff options
author | Randy Dunlap <[email protected]> | 2020-02-27 18:09:44 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-02-29 21:28:30 -0800 |
commit | 8a171c5cc9de7fb0a485341b790aba736978ed73 (patch) | |
tree | edf5bf085fbc3199030f920eddb479cebdfd8f68 /drivers/fpga/fpga-bridge.c | |
parent | 84b3268027641401bb8ad4427a90a3cce2eb86f5 (diff) |
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]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions