[alsa-devel] [PATCH 10/16] ASoC: wm1250-ev1: Remove redundant OOM message
Sachin Kamat
sachin.kamat at samsung.com
Fri Jun 20 11:59:06 CEST 2014
Let memory subsystem handle the error logging.
Signed-off-by: Sachin Kamat <sachin.kamat at samsung.com>
---
sound/soc/codecs/wm1250-ev1.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/wm1250-ev1.c b/sound/soc/codecs/wm1250-ev1.c
index 6e6b93d4696e..8011f75fb6cb 100644
--- a/sound/soc/codecs/wm1250-ev1.c
+++ b/sound/soc/codecs/wm1250-ev1.c
@@ -164,7 +164,6 @@ static int wm1250_ev1_pdata(struct i2c_client *i2c)
wm1250 = devm_kzalloc(&i2c->dev, sizeof(*wm1250), GFP_KERNEL);
if (!wm1250) {
- dev_err(&i2c->dev, "Unable to allocate private data\n");
ret = -ENOMEM;
goto err;
}
--
1.7.9.5
More information about the Alsa-devel
mailing list