commit | 71e9dc73cb6b1351bdd5f732cef5dbef411b3219 | [log] [tgz] |
---|---|---|
author | Alan Jenkins <alan-jenkins@tuffmail.co.uk> | Wed Aug 19 15:06:47 2009 +0100 |
committer | Len Brown <len.brown@intel.com> | Wed Dec 09 23:59:19 2009 -0500 |
tree | 968d57bf56ec08bfd82b600caf53626d02166990 | |
parent | e1fbf346c7c56d6b2f9d835d297bcb088baaff3a [diff] |
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 <alan-jenkins@tuffmail.co.uk> Acked-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Len Brown <len.brown@intel.com>