diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 16:24:02 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 07:38:52 -0200 |
commit | 7226d8ebdd3a944db44334f0a910e70abcc0abbf (patch) | |
tree | 675373a7632fff142e0d6f87487dbe03dfdc6248 /drivers/media/radio/wl128x/fmdrv.h | |
parent | 1ab90587029b821ed47db9df8d79a5ebe49a02a8 (diff) |
[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/fmdrv.h')
-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 d84ad9dad32..aac0f025f76 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, |