Merge tag 'safesetid-bugfix-5.4' of git://github.com/micah-morton/linux
[linux-2.6-microblaze.git] / sound / soc / spear / spdif_out.c
index 0a72d52..58d5843 100644 (file)
@@ -282,10 +282,8 @@ static int spdif_out_probe(struct platform_device *pdev)
        int ret;
 
        host = devm_kzalloc(&pdev->dev, sizeof(*host), GFP_KERNEL);
-       if (!host) {
-               dev_warn(&pdev->dev, "kzalloc fail\n");
+       if (!host)
                return -ENOMEM;
-       }
 
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        host->io_base = devm_ioremap_resource(&pdev->dev, res);