Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec70abd1 authored by Wolfram Sang's avatar Wolfram Sang Committed by Greg Kroah-Hartman
Browse files

media: usb: stk1160: stk1160-video: don't print error when allocating urb fails



kmalloc will print enough information in case of failure.

Signed-off-by: default avatarWolfram Sang <wsa-dev@sang-engineering.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3b2630dc
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -457,10 +457,8 @@ int stk1160_alloc_isoc(struct stk1160 *dev)
	for (i = 0; i < num_bufs; i++) {

		urb = usb_alloc_urb(max_packets, GFP_KERNEL);
		if (!urb) {
			stk1160_err("cannot alloc urb[%d]\n", i);
		if (!urb)
			goto free_i_bufs;
		}
		dev->isoc_ctl.urb[i] = urb;

#ifndef CONFIG_DMA_NONCOHERENT