diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-27 21:24:02 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-10-28 10:38:52 +0100 |
commit | 7226d8ebdd3a944db44334f0a910e70abcc0abbf (patch) | |
tree | 675373a7632fff142e0d6f87487dbe03dfdc6248 | |
parent | [media] tlg2300: index is unsigned, so never below zero (diff) | |
download | linux-7226d8ebdd3a944db44334f0a910e70abcc0abbf.tar.xz linux-7226d8ebdd3a944db44334f0a910e70abcc0abbf.zip |
[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>
-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 d84ad9dad323..aac0f025f767 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, |