dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Mauro Carvalho Chehab 2012-10-27 16:24:02 -03:00
parent 1ab9058702
commit 7226d8ebdd
1 changed files with 1 additions and 1 deletions

View File

@ -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,