mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
staging: android: ion: Remove unnused function ion_handle_buffer
Remove the function ion_handle_buffer since it is not used anywhere. Signed-off-by: Johanna Abrahamsson <johanna@mjao.org> Acked-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
450524614b
commit
95eab3910d
@ -371,11 +371,6 @@ static void ion_handle_destroy(struct kref *kref)
|
||||
kfree(handle);
|
||||
}
|
||||
|
||||
struct ion_buffer *ion_handle_buffer(struct ion_handle *handle)
|
||||
{
|
||||
return handle->buffer;
|
||||
}
|
||||
|
||||
static void ion_handle_get(struct ion_handle *handle)
|
||||
{
|
||||
kref_get(&handle->ref);
|
||||
|
@ -29,8 +29,6 @@
|
||||
|
||||
#include "ion.h"
|
||||
|
||||
struct ion_buffer *ion_handle_buffer(struct ion_handle *handle);
|
||||
|
||||
/**
|
||||
* struct ion_buffer - metadata for a particular buffer
|
||||
* @ref: reference count
|
||||
|
Loading…
Reference in New Issue
Block a user