mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
[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: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
92a0144225
commit
626f95a3e1
1 changed files with 0 additions and 5 deletions
|
@ -611,11 +611,6 @@ extern unsigned int saa_debug;
|
|||
printk(KERN_WARNING "%s: " fmt, dev->name, ## arg);\
|
||||
} 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_writel(reg, value) writel((value), dev->lmmio + ((reg) >> 2))
|
||||
|
||||
|
|
Loading…
Reference in a new issue