[media] mceusb: remove pointless mce_flush_rx_buffer function
authorSean Young <sean@mess.org>
Thu, 14 Apr 2016 20:42:50 +0000 (17:42 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 23 Nov 2016 15:49:36 +0000 (13:49 -0200)
commite1159cb35712bc708f444f167b6954a5afeebbdf
tree3295e96d857663d148200c832347bac757379381
parentd26cec2268bcb5521b8b7a0edd44b8129bb978ec
[media] mceusb: remove pointless mce_flush_rx_buffer function

This function just submits the urb much like mceusb_dev_resume; removing
it simplifies mce_request_packet.

Also add missing usb_kill_urb to mce_dev_probe.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/rc/mceusb.c