ACPICA: Cleanup useless memset invocations.
authorLv Zheng <lv.zheng@intel.com>
Thu, 31 Oct 2013 01:30:48 +0000 (09:30 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 31 Oct 2013 13:37:34 +0000 (14:37 +0100)
commit6208a3dd370c73101d28d761f562723755108803
treec92271ae8f89034ed20ab9fb734a750cc406f0c6
parentbd48d677670bb35548718a1fd54c2c114a449973
ACPICA: Cleanup useless memset invocations.

This patch removes unnecessary memset() invocations where
kmem_cache_zalloc() is used for allocating memory.  It also helps to
reduce source code differences between ACPICA upstream and Linux.

[rjw: Changelog]
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/utobject.c
drivers/acpi/acpica/utstate.c