kernelcompat: remove old definitions that are now unused
[ust.git] / include / usterr.h
index 6b8817764803f66f55bb2b19ddac83d8987f34bb..067866ab23c0117086f52ad334da9cb1c6b25148 100644 (file)
@@ -80,5 +80,6 @@ extern int ust_safe_snprintf(char *str, size_t n, const char *fmt, ...);
 
 #define BUG_ON(condition) do { if (unlikely(condition)) ERR("condition not respected (BUG)"); } while(0)
 #define WARN_ON(condition) do { if (unlikely(condition)) WARN("condition not respected on line %s:%d", __FILE__, __LINE__); } while(0)
+#define WARN_ON_ONCE(condition) WARN_ON(condition)
 
 #endif /* USTERR_H */
This page took 0.022117 seconds and 4 git commands to generate.