diff --git a/include/linux/coresight-stm.h b/include/linux/coresight-stm.h index 2c3a3473989..9ff81f40027 100644 --- a/include/linux/coresight-stm.h +++ b/include/linux/coresight-stm.h @@ -19,7 +19,6 @@ enum { OST_ENTITY_TRACE_PRINTK = 0x02, OST_ENTITY_TRACE_MARKER = 0x04, OST_ENTITY_DEV_NODE = 0x08, - OST_ENTITY_PRINTK = 0x10, OST_ENTITY_ALL = 0x1F, }; diff --git a/kernel/printk.c b/kernel/printk.c index d72977beec5..da1470a9dcb 100644 --- a/kernel/printk.c +++ b/kernel/printk.c @@ -41,7 +41,6 @@ #include #include #include -#include #include @@ -963,8 +962,6 @@ asmlinkage int vprintk(const char *fmt, va_list args) } } - stm_log(OST_ENTITY_PRINTK, printk_buf, printed_len); - /* * Copy the output into log_buf. If the caller didn't provide * the appropriate log prefix, we insert them here