staging: vc04_services: Remove vchiq_queue_bulk_{transmit,receive}.
authorEric Anholt <eric@anholt.net>
Fri, 9 Mar 2018 18:44:17 +0000 (10:44 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Mar 2018 12:05:19 +0000 (13:05 +0100)
These are dead code, including in the downstream Raspberry Pi tree.

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h

index 8068c03..24d456b 100644 (file)
@@ -407,26 +407,6 @@ failed:
 EXPORT_SYMBOL(vchiq_open_service);
 
 VCHIQ_STATUS_T
-vchiq_queue_bulk_transmit(VCHIQ_SERVICE_HANDLE_T handle,
-       const void *data, unsigned int size, void *userdata)
-{
-       return vchiq_bulk_transfer(handle,
-               VCHI_MEM_HANDLE_INVALID, (void *)data, size, userdata,
-               VCHIQ_BULK_MODE_CALLBACK, VCHIQ_BULK_TRANSMIT);
-}
-EXPORT_SYMBOL(vchiq_queue_bulk_transmit);
-
-VCHIQ_STATUS_T
-vchiq_queue_bulk_receive(VCHIQ_SERVICE_HANDLE_T handle, void *data,
-       unsigned int size, void *userdata)
-{
-       return vchiq_bulk_transfer(handle,
-               VCHI_MEM_HANDLE_INVALID, data, size, userdata,
-               VCHIQ_BULK_MODE_CALLBACK, VCHIQ_BULK_RECEIVE);
-}
-EXPORT_SYMBOL(vchiq_queue_bulk_receive);
-
-VCHIQ_STATUS_T
 vchiq_bulk_transmit(VCHIQ_SERVICE_HANDLE_T handle, const void *data,
        unsigned int size, void *userdata, VCHIQ_BULK_MODE_T mode)
 {
index 0e27085..e4109a8 100644 (file)
@@ -149,16 +149,6 @@ vchiq_queue_message(VCHIQ_SERVICE_HANDLE_T handle,
                    size_t size);
 extern void           vchiq_release_message(VCHIQ_SERVICE_HANDLE_T service,
        VCHIQ_HEADER_T *header);
-extern VCHIQ_STATUS_T vchiq_queue_bulk_transmit(VCHIQ_SERVICE_HANDLE_T service,
-       const void *data, unsigned int size, void *userdata);
-extern VCHIQ_STATUS_T vchiq_queue_bulk_receive(VCHIQ_SERVICE_HANDLE_T service,
-       void *data, unsigned int size, void *userdata);
-extern VCHIQ_STATUS_T vchiq_queue_bulk_transmit_handle(
-       VCHIQ_SERVICE_HANDLE_T service, VCHI_MEM_HANDLE_T handle,
-       const void *offset, unsigned int size, void *userdata);
-extern VCHIQ_STATUS_T vchiq_queue_bulk_receive_handle(
-       VCHIQ_SERVICE_HANDLE_T service, VCHI_MEM_HANDLE_T handle,
-       void *offset, unsigned int size, void *userdata);
 extern VCHIQ_STATUS_T vchiq_bulk_transmit(VCHIQ_SERVICE_HANDLE_T service,
        const void *data, unsigned int size, void *userdata,
        VCHIQ_BULK_MODE_T mode);