mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-27 01:11:31 +00:00
hwmon: (lm93) remove unnecessary OOM messages
The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Acked-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
6d33d304e2
commit
567817de85
1 changed files with 1 additions and 3 deletions
|
|
@ -2747,10 +2747,8 @@ static int lm93_probe(struct i2c_client *client,
|
||||||
}
|
}
|
||||||
|
|
||||||
data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL);
|
data = devm_kzalloc(&client->dev, sizeof(struct lm93_data), GFP_KERNEL);
|
||||||
if (!data) {
|
if (!data)
|
||||||
dev_dbg(&client->dev, "out of memory!\n");
|
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
|
||||||
i2c_set_clientdata(client, data);
|
i2c_set_clientdata(client, data);
|
||||||
|
|
||||||
/* housekeeping */
|
/* housekeeping */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue