summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/linux-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/dwc3/linux-compat.h')
-rw-r--r--drivers/usb/dwc3/linux-compat.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h
index b36f68fec8..6c9c2791a8 100644
--- a/drivers/usb/dwc3/linux-compat.h
+++ b/drivers/usb/dwc3/linux-compat.h
@@ -30,9 +30,4 @@ static inline void *devm_kzalloc(struct device *dev, unsigned int size,
{
return kzalloc(size, flags);
}
-
-static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags)
-{
- return kzalloc(n * size, flags);
-}
#endif