Commit c65c7a65 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

V4L/DVB (8298): sms1xxx: remove redundant __func__ in sms_err macro

Signed-off-by: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 2522dc13
...@@ -429,11 +429,9 @@ extern int sms_debug; ...@@ -429,11 +429,9 @@ extern int sms_debug;
sms_printk(kern, fmt, ##arg); } while (0) sms_printk(kern, fmt, ##arg); } while (0)
#define sms_err(fmt, arg...) \ #define sms_err(fmt, arg...) \
sms_printk(KERN_ERR, "%s() line: %d: " fmt "\n", \ sms_printk(KERN_ERR, "line: %d: " fmt, __LINE__, ##arg)
__func__, __LINE__, ##arg)
#define sms_warn(fmt, arg...) \ #define sms_warn(fmt, arg...) \
sms_printk(KERN_WARNING, "%s() line: %d: " fmt "\n", \ sms_printk(KERN_WARNING, "line: %d: " fmt, __LINE__, ##arg)
__func__, __LINE__, ##arg)
#define sms_info(fmt, arg...) \ #define sms_info(fmt, arg...) \
dprintk(KERN_INFO, DBG_INFO, fmt, ##arg) dprintk(KERN_INFO, DBG_INFO, fmt, ##arg)
#define sms_debug(fmt, arg...) \ #define sms_debug(fmt, arg...) \
......
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