diff options
author | Johan Hovold <johan@kernel.org> | 2017-06-01 04:46:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-06-07 09:39:52 -0300 |
commit | fb3562c81e98e52f6acca2cd7ee36532634ec38e (patch) | |
tree | 2ccdaaaae2f0e0d2beaebd5b8908bdda74fe5332 /drivers/media/rc/mceusb.c | |
parent | 2d5a6ce71c72d98d4f7948672842e3e8c265a8b7 (diff) | |
download | linux-fb3562c81e98e52f6acca2cd7ee36532634ec38e.tar.bz2 |
[media] mceusb: drop redundant urb reinitialisation
Drop a since commit e1159cb35712 ("[media] mceusb: remove pointless
mce_flush_rx_buffer function") redundant reinitialisation of two urb
fields immediately after they have been initialised.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/rc/mceusb.c')
-rw-r--r-- | drivers/media/rc/mceusb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index 04d6cd1818fb..eb130694bbb8 100644 --- a/drivers/media/rc/mceusb.c +++ b/drivers/media/rc/mceusb.c @@ -789,9 +789,6 @@ static void mce_request_packet(struct mceusb_dev *ir, unsigned char *data, dev_dbg(dev, "send request called (size=%#x)", size); - async_urb->transfer_buffer_length = size; - async_urb->dev = ir->usbdev; - res = usb_submit_urb(async_urb, GFP_ATOMIC); if (res) { dev_err(dev, "send request FAILED! (res=%d)", res); |