Commit b8f2854b authored by Peter Chen's avatar Peter Chen Committed by Greg Kroah-Hartman

usb: class: usbtmc: delete unnecessary 'out of memory' messages

The memory subsystem has already had similar message for it.
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 51f1741f
...@@ -1104,10 +1104,8 @@ static int usbtmc_probe(struct usb_interface *intf, ...@@ -1104,10 +1104,8 @@ static int usbtmc_probe(struct usb_interface *intf,
dev_dbg(&intf->dev, "%s called\n", __func__); dev_dbg(&intf->dev, "%s called\n", __func__);
data = devm_kzalloc(&intf->dev, sizeof(*data), GFP_KERNEL); data = devm_kzalloc(&intf->dev, sizeof(*data), GFP_KERNEL);
if (!data) { if (!data)
dev_err(&intf->dev, "Unable to allocate kernel memory\n");
return -ENOMEM; return -ENOMEM;
}
data->intf = intf; data->intf = intf;
data->id = id; data->id = id;
......
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