Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F173151745
D11480.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
794 B
Referenced Files
None
Subscribers
None
D11480.id.diff
View Options
Index: head/sys/contrib/ena-com/ena_plat.h
===================================================================
--- head/sys/contrib/ena-com/ena_plat.h
+++ head/sys/contrib/ena-com/ena_plat.h
@@ -139,21 +139,12 @@
#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)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 24, 11:18 PM (4 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39558470
Default Alt Text
D11480.id.diff (794 B)
Attached To
Mode
D11480: ena_plat.h: delete WARN_ON dead code
Attached
Detach File
Event Timeline
Log In to Comment