Commit 95eab391 authored by Johanna Abrahamsson's avatar Johanna Abrahamsson Committed by Greg Kroah-Hartman

staging: android: ion: Remove unnused function ion_handle_buffer

Remove the function ion_handle_buffer since it is not used anywhere.
Signed-off-by: default avatarJohanna Abrahamsson <johanna@mjao.org>
Acked-by: default avatarLaura Abbott <labbott@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 45052461
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment