summaryrefslogtreecommitdiff
path: root/drivers/staging/csr/csr_log.h
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-26 11:01:57 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-26 16:07:46 (GMT)
commitea50aab519738a2cbb890053e255419c0b39e962 (patch)
tree87b1ab440b18510287e7e795613b204bb7ad6f54 /drivers/staging/csr/csr_log.h
parent7f7a252cd0dc65565f0fd62a8364670dac77e21b (diff)
downloadlinux-fsl-qoriq-ea50aab519738a2cbb890053e255419c0b39e962.tar.xz
staging: csr: remove csrPanic and CSR_LOG_ASSERT and CSR_LOG_ASSERT_ENABLE
these are not called at anypoint or enabled at anyplace in the code, remove them Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/csr/csr_log.h')
-rw-r--r--drivers/staging/csr/csr_log.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/csr/csr_log.h b/drivers/staging/csr/csr_log.h
index 304f065..9eb8c09 100644
--- a/drivers/staging/csr/csr_log.h
+++ b/drivers/staging/csr/csr_log.h
@@ -11,7 +11,6 @@
*****************************************************************************/
#include "csr_sched.h"
-#include "csr_panic.h"
#include "csr_prim_defs.h"
#include "csr_msgconv.h"
@@ -80,18 +79,6 @@ u8 CsrLogTaskIsFiltered(CsrSchedQid taskId, CsrLogLevelTask level);
#define CSR_LOG_STRINGIFY_REAL(a) (#a)
#define CSR_LOG_STRINGIFY(a) CSR_LOG_STRINGIFY_REAL(a)
-#ifdef CSR_LOG_ASSERT_ENABLE
-#define CSR_LOG_ASSERT(cond) \
- do { \
- if (!(cond)) { \
- char *panic_arg = "[" __FILE__ ":" CSR_LOG_STRINGIFY(__LINE__) "] - " CSR_LOG_STRINGIFY(cond); \
- CsrPanic(CSR_TECH_FW, CSR_PANIC_FW_ASSERTION_FAIL, panic_arg); \
- } \
- } while (0)
-#else
-#define CSR_LOG_ASSERT(cond)
-#endif
-
typedef struct {
u16 primitiveType;
const char *primitiveName;