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)
commit38c003b113ceab37f80d020999d3ec2cbf784da3
tree771db6c4c9c49307604c8e0e0aab3eb8f28845b0
parent80cb77dc6310a72002f6cb8255316c5aaea78807
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