scst: fix perf build

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6911 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Vladislav Bolkhovitin
2016-07-15 01:23:38 +00:00
parent f2da0cec29
commit ff3b499a4c

View File

@@ -217,6 +217,13 @@ do { \
#define PRINT_BUFF_FLAG(flag, message, buff, len) \
((void)(flag), (void)(message), (void)(buff), (void)(len))
/*
* no_printk still calls its arguments, so we can not use it in perf build
* for TRACE_PR or debug_transport_id_to_initiator_name() is not going to
* be found.
*/
#define TRACE_PR(format, args...) do { } while (0)
#ifdef LOG_PREFIX
#define PRINT_INFO(format, args...) \