summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2009-09-21 19:29:30 +0000
committerLen Brown <len.brown@intel.com>2009-09-25 14:24:27 -0400
commit77c24888b7693eecee904308e0ee51f7f1f564df (patch)
tree488f1d22e80ebae8ad55a7a34de1e2812e110cb3 /samples
parentc7bcb4e98aca348f6f8ab432496ff35ba7a49a1d (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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions