STM32: USB: remove unnecessary ASSERT()
[bertos.git] / bertos / cpu / cortex-m3 / drv / usb_stm32.c
index ef1abda2aec54ad33d3fb1d220b7fefe41d021be..be9ba64014f72033156e788657913d6a61fd000e 100644 (file)
@@ -611,9 +611,6 @@ static void __usb_ep_io(int EP)
        cpu_flags_t flags;                                              \
        stm32_usb_io_status_t ret;                                      \
                                                                        \
-       /* NOTE: buffer must be 4-bytes aligned */                      \
-       ASSERT(!((size_t)__buf & 0x03));                                \
-                                                                       \
        /* Fill EP descriptor */                                        \
        IRQ_SAVE_DISABLE(flags);                                        \
        if (__size < 0)                                                 \