summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ena_plat.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/ena_plat.h b/ena_plat.h
index 481f7aa4bbad..48127d1d8d7b 100644
--- a/ena_plat.h
+++ b/ena_plat.h
@@ -139,21 +139,12 @@ extern struct ena_bus_space ebs;
#define MAX_ERRNO 4095
#define IS_ERR_VALUE(x) unlikely((x) <= (unsigned long)MAX_ERRNO)
-#define WARN_ON(condition) \
- do { \
- int __ret_warn_on = !!(condition); \
- if (unlikely(__ret_warn_on)) \
- printf("%s %s", __FUNCTION__, __FILE__); \
- unlikely(__ret_warn_on); \
- } while (0)
-
#define ENA_ASSERT(cond, format, arg...) \
do { \
if (unlikely(!(cond))) { \
ena_trc_err( \
"Assert failed on %s:%s:%d:" format, \
__FILE__, __func__, __LINE__, ##arg); \
- WARN_ON(cond); \
} \
} while (0)