Index: uspace/drv/bus/usb/ohci/hw_struct/hcca.h
===================================================================
--- uspace/drv/bus/usb/ohci/hw_struct/hcca.h	(revision 436300063cf897d3a8d003c018a42e184f48d928)
+++ uspace/drv/bus/usb/ohci/hw_struct/hcca.h	(revision 1cf26abf038d0db4ca5f4e0a43ca1b41d655b01e)
@@ -65,5 +65,5 @@
 static inline hcca_t * hcca_get(void)
 {
-	assert(sizeof(hcca_t) == 256);
+	static_assert(sizeof(hcca_t) == 256);
 	hcca_t *hcca = memalign(256, sizeof(hcca_t));
 	if (hcca)
Index: uspace/drv/bus/usb/uhci/uhci_batch.c
===================================================================
--- uspace/drv/bus/usb/uhci/uhci_batch.c	(revision 436300063cf897d3a8d003c018a42e184f48d928)
+++ uspace/drv/bus/usb/uhci/uhci_batch.c	(revision 1cf26abf038d0db4ca5f4e0a43ca1b41d655b01e)
@@ -87,5 +87,5 @@
 uhci_transfer_batch_t * uhci_transfer_batch_get(usb_transfer_batch_t *usb_batch)
 {
-	assert((sizeof(td_t) % 16) == 0);
+	static_assert((sizeof(td_t) % 16) == 0);
 #define CHECK_NULL_DISPOSE_RETURN(ptr, message...) \
 	if (ptr == NULL) { \
