USB: usbatm: remove unused UDSL_ASSERT macro
[firefly-linux-kernel-4.4.55.git] / drivers / usb / atm / usbatm.h
index 5fc489405217beb254398a3095fcd812faa36941..a2955b117e88bc9cd0b8454aa8fcf6c56801c810 100644 (file)
 #define VERBOSE_DEBUG
 */
 
-#ifdef DEBUG
-#define UDSL_ASSERT(instance, x)       BUG_ON(!(x))
-#else
-#define UDSL_ASSERT(instance, x)                                       \
-       do {    \
-               if (!(x))                                               \
-                       dev_warn(&(instance)->usb_intf->dev,            \
-                                "failed assertion '%s' at line %d",    \
-                                __stringify(x), __LINE__);             \
-       } while (0)
-#endif
-
 #define usb_err(instance, format, arg...)      \
        dev_err(&(instance)->usb_intf->dev , format , ## arg)
 #define usb_info(instance, format, arg...)     \