media: cpia2_usb: drop bogus interface-release call
authorJohan Hovold <johan@kernel.org>
Wed, 7 Mar 2018 09:49:36 +0000 (04:49 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 21 Mar 2018 16:12:04 +0000 (12:12 -0400)
commit20f2e1aa77314decf395558fd3a13875c0e56074
treeef72c269ac80c84afdd538d5fbb4a11aea7ea605
parentb1e064c25e8fce911d0d9b8a9cca1d3183cd7130
media: cpia2_usb: drop bogus interface-release call

Drop bogus call to usb_driver_release_interface() from the disconnect()
callback. As the interface is already being unbound at this point,
usb_driver_release_interface() simply returns early.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cpia2/cpia2_usb.c