Author: rlibby
Date: Thu Sep  7 05:01:02 2017
New Revision: 323255
URL: https://svnweb.freebsd.org/changeset/base/323255

Log:
  MFC r321864 (by mw):
  
    Merge ena-com 1.1.4.2

Modified:
  stable/11/sys/contrib/ena-com/ena_plat.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/contrib/ena-com/ena_plat.h
==============================================================================
--- stable/11/sys/contrib/ena-com/ena_plat.h    Thu Sep  7 04:29:57 2017        
(r323254)
+++ stable/11/sys/contrib/ena-com/ena_plat.h    Thu Sep  7 05:01:02 2017        
(r323255)
@@ -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)
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to