ACPI: button: remove unnecessary null pointer checks
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 8 Apr 2009 15:39:43 +0000 (15:39 +0000)
committerLen Brown <len.brown@intel.com>
Sat, 11 Apr 2009 04:36:40 +0000 (00:36 -0400)
commite2fb9754d27513918a4936e8cbaad50ff56cfd3d
tree0ad7d3e3631ea16c03c2d423908a11ef9c3079ec
parent50a4da890102a455e5cd3dd358c38650d07178d3
ACPI: button: remove unnecessary null pointer checks

Better to oops and learn about a bug than to silently cover it up.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c