summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/ds.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2014-06-16 11:55:13 +0200
committerMatthew Garrett <matthew.garrett@nebula.com>2014-08-16 01:23:49 -0700
commitc4960cf01f70d86c6440ad5dd540d0c82381785d (patch)
treef07a7944a7d2ff0f75e2ed5cd9046f23066889ca /drivers/pcmcia/ds.c
parentbdc3ae7221213963f438faeaa69c8b4a2195f491 (diff)
downloadblackbird-op-linux-c4960cf01f70d86c6440ad5dd540d0c82381785d.tar.gz
blackbird-op-linux-c4960cf01f70d86c6440ad5dd540d0c82381785d.zip
fujitsu-laptop: Clear build warnings
When CONFIG_FUJITSU_LAPTOP_DEBUG is disabled and W=1, the fujitsu-laptop driver builds with the following warnings: drivers/platform/x86/fujitsu-laptop.c: In function "bl_update_status": drivers/platform/x86/fujitsu-laptop.c:409:8: warning: suggest braces around empty body in an "if" statement [-Wempty-body] ret); ^ drivers/platform/x86/fujitsu-laptop.c:418:8: warning: suggest braces around empty body in an "if" statement [-Wempty-body] ret); ^ Rework the debug printk helper macro to get rid of these. I verified that this change has no effect on the generated binary, both in the debug and non-debug case. Signed-off-by: Jean Delvare <jdelvare@suse.de> Acked-by: Jonathan Woithe <jwoithe@just42.net> Cc: Matthew Garrett <matthew.garrett@nebula.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/pcmcia/ds.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud