]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dvb_usb_v2: do not try to remove non-existent adapter
authorAntti Palosaari <crope@iki.fi>
Wed, 27 Jun 2012 01:49:19 +0000 (22:49 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 4 Aug 2012 10:56:39 +0000 (07:56 -0300)
commitf9cef309b39fcd0c9d08d213ac502a3577fa21db
tree7dadd876340ba9855248ed8dec308d6629d7ca88
parent242837e2f37a9d1ea0c0281a54f2e67cbfdab3d0
[media] dvb_usb_v2: do not try to remove non-existent adapter

Check that adapter exists before trying to remove it.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb_usb_core.c