diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2018-05-18 13:10:27 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2018-05-18 13:37:02 +0200 |
commit | 0ad3f771b69c0db837f40f6ffd5d41915fc07095 (patch) | |
tree | f196f281fedfc2c9320500d7c1e543bc2f385524 /drivers/usb/dwc3/linux-compat.h | |
parent | d067624c47bf15b9b5b716ae8be510fa1fb615a2 (diff) | |
download | u-boot-0ad3f771b69c0db837f40f6ffd5d41915fc07095.tar.gz |
drivers: usb: dwc3: remove devm_zalloc from linux_compact
devm_zalloc() is already defined in dm/device.h header, so
devm_zalloc can be removed from linux_compact.h beader file.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/usb/dwc3/linux-compat.h')
-rw-r--r-- | drivers/usb/dwc3/linux-compat.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h index 27ae21247b..35850f91a3 100644 --- a/drivers/usb/dwc3/linux-compat.h +++ b/drivers/usb/dwc3/linux-compat.h @@ -20,9 +20,4 @@ static inline size_t strlcat(char *dest, const char *src, size_t n) return strlen(dest) + strlen(src); } -static inline void *devm_kzalloc(struct device *dev, unsigned int size, - unsigned int flags) -{ - return kzalloc(size, flags); -} #endif |