commit | b824bb4b12548fedd622686d443310d574eb084e | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sat Jun 25 17:39:19 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Wed Jul 27 17:53:43 2011 -0300 |
tree | 09b71717e080d9809a73e4a198d15a7a892f0fb6 | |
parent | 1a4ede65f30315a31cb9b239bec0d4bb32834691 [diff] |
[media] pwc: Get rid of error_status and unplugged variables 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>