]> 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)
commit8811d242c04d6c4aea9cfb9b14e57f59d7dbf265
tree771db6c4c9c49307604c8e0e0aab3eb8f28845b0
parentfb4c7a0d8715bfcb45901567ceb2c14de26d4004
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