Merge remote-tracking branch 'omap_dss2/for-next'
[deliverable/linux.git] / drivers / acpi / acpica / uttrack.c
index 0df07dfa53b6acccdce504f8b69de283f61677dc..df31d71ce596fa7279566940fe6f78f7ca554ce3 100644 (file)
@@ -95,13 +95,11 @@ acpi_ut_create_list(const char *list_name,
 {
        struct acpi_memory_list *cache;
 
-       cache = acpi_os_allocate(sizeof(struct acpi_memory_list));
+       cache = acpi_os_allocate_zeroed(sizeof(struct acpi_memory_list));
        if (!cache) {
                return (AE_NO_MEMORY);
        }
 
-       memset(cache, 0, sizeof(struct acpi_memory_list));
-
        cache->list_name = list_name;
        cache->object_size = object_size;
 
This page took 0.023854 seconds and 5 git commands to generate.