]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/octeontx2/otx2_common.h
common/octeontx2: remove escape sequences in log
[dpdk.git] / drivers / common / octeontx2 / otx2_common.h
index faf206b3c7411da544d15b76b17c44adae2f291e..a1554627dabcebd91d6b8e7e77a764f39fd46e24 100644 (file)
@@ -69,12 +69,9 @@ extern int otx2_logtype_tm;
 extern int otx2_logtype_tim;
 extern int otx2_logtype_dpi;
 
-#define OTX2_CLNRM  "\x1b[0m"
-#define OTX2_CLRED  "\x1b[31m"
-
-#define otx2_err(fmt, args...)                                         \
-       RTE_LOG(ERR, PMD, ""OTX2_CLRED"%s():%u " fmt OTX2_CLNRM"\n",    \
-                               __func__, __LINE__, ## args)
+#define otx2_err(fmt, args...)                 \
+       RTE_LOG(ERR, PMD, "%s():%u " fmt "\n",  \
+               __func__, __LINE__, ## args)
 
 #define otx2_info(fmt, args...)                                                \
        RTE_LOG(INFO, PMD, fmt"\n", ## args)