From: Alan Jenkins Date: Wed, 19 Aug 2009 14:06:47 +0000 (+0100) Subject: dell-laptop: fix a use-after-free error on the failure path X-Git-Tag: v2.6.33-rc1~47^2~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71e9dc73cb6b1351bdd5f732cef5dbef411b3219;p=pandora-kernel.git dell-laptop: fix a use-after-free error on the failure path dell_setup_rfkill() already cleans up the rfkill devices on failure. So if it returns an error, we should not try to unregister the rfkill devices. Signed-off-by: Alan Jenkins Acked-by: Matthew Garrett Signed-off-by: Len Brown --- Reading git-diff-tree failed