diff options
author | Andy Green <andy.green@linaro.org> | 2013-04-13 16:56:14 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2013-04-13 16:56:14 +0800 |
commit | d7ed467cfe94d65fb9204fef682d2bf8a36be295 (patch) | |
tree | cc2a38def7b79d26bfc3be361516c34f30a70a43 | |
parent | ac3978b92db04795b43ca439a322e9cf0f409670 (diff) |
ion_client_create no longer needs mask
This seems to have never done anything, and decided not to do even that any more
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | kernel/drivers/base/ump/src/imports/ion/ump_kernel_import_ion.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/kernel/drivers/base/ump/src/imports/ion/ump_kernel_import_ion.c b/kernel/drivers/base/ump/src/imports/ion/ump_kernel_import_ion.c index 7e1b5ae..4aa0b56 100644 --- a/kernel/drivers/base/ump/src/imports/ion/ump_kernel_import_ion.c +++ b/kernel/drivers/base/ump/src/imports/ion/ump_kernel_import_ion.c @@ -35,21 +35,12 @@ static struct ion_device * ion_device_get(void) return NULL; } -static unsigned int ion_heap_mask_get(void) -{ - /* < Customer to provide implementation > - * Return the heap mask to use with UMP clients. - * Suspect this can be kept as 0 as we won't allocate memory, just import. - */ - return 0; -} - static int import_ion_client_create(void** const custom_session_data) { struct ion_client ** ion_client; ion_client = (struct ion_client**)custom_session_data; - *ion_client = ion_client_create(ion_device_get(), ion_heap_mask_get(), "ump"); + *ion_client = ion_client_create(ion_device_get(), "ump"); return PTR_RET(*ion_client); } |