ASoC: DaVinci: Delete an error message for a failed memory allocation in two functions
[sfrench/cifs-2.6.git] / sound / soc / davinci / davinci-mcasp.c
index 56ec1d301ac2927b5ebabb123a28c2a56dbc532f..d486908d4e0e5ed0fa74838dc0df6f3e7933701d 100644 (file)
@@ -1602,8 +1602,6 @@ static struct davinci_mcasp_pdata *davinci_mcasp_set_pdata_from_of(
                pdata = devm_kmemdup(&pdev->dev, match->data, sizeof(*pdata),
                                     GFP_KERNEL);
                if (!pdata) {
-                       dev_err(&pdev->dev,
-                               "Failed to allocate memory for pdata\n");
                        ret = -ENOMEM;
                        return pdata;
                }