Commit 6d33d304 authored by Jingoo Han's avatar Jingoo Han Committed by Guenter Roeck

hwmon: (ibmpex) remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.
Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Acked-by: default avatarJean Delvare <jdelvare@suse.de>
Acked-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent b83207fd
...@@ -463,10 +463,8 @@ static void ibmpex_register_bmc(int iface, struct device *dev) ...@@ -463,10 +463,8 @@ static void ibmpex_register_bmc(int iface, struct device *dev)
int err; int err;
data = kzalloc(sizeof(*data), GFP_KERNEL); data = kzalloc(sizeof(*data), GFP_KERNEL);
if (!data) { if (!data)
dev_err(dev, "Insufficient memory for BMC interface.\n");
return; return;
}
data->address.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; data->address.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE;
data->address.channel = IPMI_BMC_CHANNEL; data->address.channel = IPMI_BMC_CHANNEL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment