Commit 626f95a3 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] saa7134: remove unused log_err() macro

As reported by Masanari, this macro is using "KERN_ERR"
instead of "KERN_ERROR". That would lead into a compilation
breakage, if this macro were used somewhere inside the driver.

Instead of fixing the macro, as originally proposed, let's just
remove the dead code.
Reported-by: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 92a01442
...@@ -611,11 +611,6 @@ extern unsigned int saa_debug; ...@@ -611,11 +611,6 @@ extern unsigned int saa_debug;
printk(KERN_WARNING "%s: " fmt, dev->name, ## arg);\ printk(KERN_WARNING "%s: " fmt, dev->name, ## arg);\
} while (0) } while (0)
#define log_err(fmt, arg...)\
do { \
printk(KERN_ERROR "%s: " fmt, dev->name, ## arg);\
} while (0)
#define saa7164_readl(reg) readl(dev->lmmio + ((reg) >> 2)) #define saa7164_readl(reg) readl(dev->lmmio + ((reg) >> 2))
#define saa7164_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2)) #define saa7164_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment