diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-07-17 05:45:11 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-08-20 19:14:45 +0200 |
commit | 734d5a5393ed8eedf70f13c7078cb4a6134f49f2 (patch) | |
tree | 3f29e6582a614aa61aaa8622bc7726a387b26760 /drivers/usb/dwc3/dwc3-exynos.c | |
parent | Linux 3.17-rc1 (diff) | |
download | linux-734d5a5393ed8eedf70f13c7078cb4a6134f49f2.tar.xz linux-734d5a5393ed8eedf70f13c7078cb4a6134f49f2.zip |
usb: dwc3: remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-exynos.c')
-rw-r--r-- | drivers/usb/dwc3/dwc3-exynos.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/dwc3/dwc3-exynos.c b/drivers/usb/dwc3/dwc3-exynos.c index f9fb8adb785b..3951a65fea04 100644 --- a/drivers/usb/dwc3/dwc3-exynos.c +++ b/drivers/usb/dwc3/dwc3-exynos.c @@ -113,10 +113,8 @@ static int dwc3_exynos_probe(struct platform_device *pdev) int ret; exynos = devm_kzalloc(dev, sizeof(*exynos), GFP_KERNEL); - if (!exynos) { - dev_err(dev, "not enough memory\n"); + if (!exynos) return -ENOMEM; - } /* * Right now device-tree probed devices don't get dma_mask set. |