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: Jingoo Han <jg1.han@samsung.com> Acked-by: Jean Delvare <jdelvare@suse.de> Acked-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Родитель
b83207fdda
Коммит
6d33d304e2
|
@ -463,10 +463,8 @@ static void ibmpex_register_bmc(int iface, struct device *dev)
|
|||
int err;
|
||||
|
||||
data = kzalloc(sizeof(*data), GFP_KERNEL);
|
||||
if (!data) {
|
||||
dev_err(dev, "Insufficient memory for BMC interface.\n");
|
||||
if (!data)
|
||||
return;
|
||||
}
|
||||
|
||||
data->address.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE;
|
||||
data->address.channel = IPMI_BMC_CHANNEL;
|
||||
|
|
Загрузка…
Ссылка в новой задаче