crypto/qat: clean up unused and useless trace
[dpdk.git] / drivers / crypto / qat / qat_logs.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2015-2018 Intel Corporation
3  */
4
5 #ifndef _QAT_LOGS_H_
6 #define _QAT_LOGS_H_
7
8 #ifdef RTE_LIBRTE_PMD_QAT_DEBUG_DRIVER
9 #define PMD_DRV_LOG_RAW(level, fmt, args...) \
10         RTE_LOG(level, PMD, "%s(): " fmt, __func__, ## args)
11 #else
12 #define PMD_DRV_LOG_RAW(level, fmt, args...) do { } while (0)
13 #endif
14
15 #define PMD_DRV_LOG(level, fmt, args...) \
16         PMD_DRV_LOG_RAW(level, fmt "\n", ## args)
17
18 #endif /* _QAT_LOGS_H_ */