From: Peter Chen <[email protected]>

The memory subsystem has already had similar message for it.

Signed-off-by: Peter Chen <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/usb/musb/musb_dsps.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 48bc09e..6209456 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -729,7 +729,6 @@ static int dsps_create_musb_pdev(struct dsps_glue *glue,
 
        config = devm_kzalloc(&parent->dev, sizeof(*config), GFP_KERNEL);
        if (!config) {
-               dev_err(dev, "failed to allocate musb hdrc config\n");
                ret = -ENOMEM;
                goto err;
        }
@@ -781,10 +780,8 @@ static int dsps_probe(struct platform_device *pdev)
 
        /* allocate glue */
        glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL);
-       if (!glue) {
-               dev_err(&pdev->dev, "unable to allocate glue memory\n");
+       if (!glue)
                return -ENOMEM;
-       }
 
        glue->dev = &pdev->dev;
        glue->wrp = wrp;
-- 
2.1.0.GIT

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to