]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: android: ion: Remove unnused function ion_handle_buffer
authorJohanna Abrahamsson <johanna@mjao.org>
Tue, 23 Aug 2016 22:42:39 +0000 (00:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Sep 2016 15:39:29 +0000 (17:39 +0200)
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>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion_priv.h

index 2671f9fa89d71876c0ee6ade701c431fdfad7955..3d2a79b63f591debc8a0f23a4e9c83ace4f79a7e 100644 (file)
@@ -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);
index 5eed5e24256e7d91aafde019d30d1cd1d8064dfc..fcbc231132b58f0380259302ce302b80cd715137 100644 (file)
@@ -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