From: Hans de Goede Date: Sat, 25 Jun 2011 20:39:19 +0000 (-0300) Subject: [media] pwc: Get rid of error_status and unplugged variables X-Git-Tag: v3.1-rc1~116^2~164 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b824bb4b12548fedd622686d443310d574eb084e;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed