Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);
+0 −2
Original line number Diff line number Diff line
@@ -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