Staging: android: ion: duplicated clearing of sg_table
authorGioh Kim <gioh.kim@lge.com>
Thu, 24 Apr 2014 23:24:24 +0000 (08:24 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Apr 2014 22:17:31 +0000 (15:17 -0700)
commitb6152016003b2cc2370899558bf2e7de4ebd0b09
tree388c2f2bac4062897f3786c79e2857455da0b5b7
parentd7a33d74e9913bd4d2580aff67ed7051935f546b
Staging: android: ion: duplicated clearing of sg_table

Because sg_table is cleared in sg_alloc_table via memset we don't need to use
kzalloc to allocate sg_table.

Signed-off-by: Gioh Kim <gioh.kim@lge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_chunk_heap.c
drivers/staging/android/ion/ion_system_heap.c