]> git.baikalelectronics.ru Git - kernel.git/commit
staging: ion: remove struct ion_page_pool_item
authorHeesub Shin <heesub.shin@samsung.com>
Wed, 28 May 2014 06:52:54 +0000 (15:52 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2014 20:40:33 +0000 (13:40 -0700)
commitcc3d6fed0a1c0fbbe5062b261761544cb10c800c
tree771db6c4c9c49307604c8e0e0aab3eb8f28845b0
parentec5fd340711ca82bb329a871e0130fbb5f3a1ba9
staging: ion: remove struct ion_page_pool_item

The page pool uses an internal data structure, ion_page_pool_item, for
wrapping pooled pages and constructing a list. As the struct page
already provides ways for doing exactly the same thing, we do not need
to reinvent the wheel. This commit removes the data structure and slab
allocations for it.

Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
Reviewed-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_page_pool.c