diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 19:24:02 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 09:38:52 (GMT) |
commit | 7226d8ebdd3a944db44334f0a910e70abcc0abbf (patch) | |
tree | 675373a7632fff142e0d6f87487dbe03dfdc6248 /drivers/media/radio/wl128x | |
parent | 1ab90587029b821ed47db9df8d79a5ebe49a02a8 (diff) | |
download | linux-7226d8ebdd3a944db44334f0a910e70abcc0abbf.tar.xz |
[media] fmdrv: better define fmdbg() macro to avoid warnings
drivers/media/radio/wl128x/fmdrv_common.c:1619:47: warning: suggest braces around empty body in an 'else' statement [-Wempty-body]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/radio/wl128x')
-rw-r--r-- | drivers/media/radio/wl128x/fmdrv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/wl128x/fmdrv.h b/drivers/media/radio/wl128x/fmdrv.h index d84ad9d..aac0f02 100644 --- a/drivers/media/radio/wl128x/fmdrv.h +++ b/drivers/media/radio/wl128x/fmdrv.h @@ -60,7 +60,7 @@ #define fmdbg(format, ...) \ printk(KERN_DEBUG "fmdrv: " format, ## __VA_ARGS__) #else /* DEBUG */ -#define fmdbg(format, ...) +#define fmdbg(format, ...) do {} while(0) #endif enum { FM_MODE_OFF, |