commit | 77c24888b7693eecee904308e0ee51f7f1f564df | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | Mon Sep 21 19:29:30 2009 +0000 |
committer | Len Brown <len.brown@intel.com> | Fri Sep 25 14:24:27 2009 -0400 |
tree | 488f1d22e80ebae8ad55a7a34de1e2812e110cb3 | |
parent | c7bcb4e98aca348f6f8ab432496ff35ba7a49a1d [diff] |
ACPI: remove unnecessary argument checking acpi_add_single_object() is static, and all callers supply a valid "child" argument, so we don't need to check it. This patch also remove some unnecessary initializations. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Len Brown <len.brown@intel.com>