[media] pwc: Get rid of error_status and unplugged variables
authorHans de Goede <hdegoede@redhat.com>
Sat, 25 Jun 2011 20:39:19 +0000 (17:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:53:43 +0000 (17:53 -0300)
Having 2 ways of tracking disconnection is too much, remove both and
instead simply set pdev->udev to NULL on disconnect. Also check for
pdev->udev being NULL in all possible entry paths.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found