]> git.codelabs.ch Git - muen/linux.git/blobdiff - drivers/platform/x86/thinkpad_acpi.c
thinkpad_acpi: Remove side effects from vdbg_printk -> no_printk macro
[muen/linux.git] / drivers / platform / x86 / thinkpad_acpi.c
index 33e488cf5569861391fc40844bcc6ce95b305c3c..131dd74641833e69e144f6a22d1d4021d09ee1c9 100644 (file)
@@ -402,7 +402,7 @@ static const char *str_supported(int is_supported);
 #else
 static inline const char *str_supported(int is_supported) { return ""; }
 #define vdbg_printk(a_dbg_level, format, arg...)       \
-       no_printk(format, ##arg)
+       do { if (0) no_printk(format, ##arg); } while (0)
 #endif
 
 static void tpacpi_log_usertask(const char * const what)