mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
media: af9035: Remove duplicate error reporting for dvbsky_usb_generic_rw
All error cases inside the function already report errors via dev_err(), and dvb_usb_v2_generic_rw also reports all error cases, so there is no silent code path when an error has occurred. Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
fec2e415cb
commit
f16888a3e8
@ -120,8 +120,6 @@ static int af9035_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req)
|
||||
memcpy(req->rbuf, &state->buf[ACK_HDR_LEN], req->rlen);
|
||||
exit:
|
||||
mutex_unlock(&d->usb_mutex);
|
||||
if (ret < 0)
|
||||
dev_dbg(&intf->dev, "failed=%d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user