Skip to content

Commit

Permalink
ASoC: wm1250-ev1: Remove redundant OOM message
Browse files Browse the repository at this point in the history
Let memory subsystem handle the error logging.

Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Jun 27, 2014
1 parent 84cbc75 commit 611d7a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/codecs/wm1250-ev1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 611d7a7

Please sign in to comment.