Skip to contentSkip to conversation

staging: vc04_services: Remove type and function prototype

PATCH New Gargi Sharma 1 participant 1 message Mar 15, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vc04_services: Remove type and function prototype

The function prototype is for a function that is not even in the kernel, and hence has been removed.
The type VCHIQ_SHARED_MEM_INFO_T is not used anywhere in the kernel as well.

---
 .../staging/vc04_services/interface/vchiq_arm/vchiq_memdrv.h | 12 ------------
 1 file changed, 12 deletions(-)
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_memdrv.h +0 -12
index dd43458..c233b86 100644
@@ -41,22 +41,10 @@
 
 /* ---- Constants and Types ---------------------------------------------- */
 
-typedef struct {
-	 void                   *arm_shared_mem_virt;
-	 dma_addr_t              arm_shared_mem_phys;
-	 size_t                  arm_shared_mem_size;
-
-	 void                   *vc_shared_mem_virt;
-	 dma_addr_t              vc_shared_mem_phys;
-	 size_t                  vc_shared_mem_size;
-} VCHIQ_SHARED_MEM_INFO_T;
-
 /* ---- Variable Externs ------------------------------------------------- */
 
 /* ---- Function Prototypes ---------------------------------------------- */
 
-void vchiq_get_shared_mem_info(VCHIQ_SHARED_MEM_INFO_T *info);
-
 VCHIQ_STATUS_T vchiq_memdrv_initialise(void);
 
 VCHIQ_STATUS_T vchiq_userdrv_create_instance(
Signature · 1 line
2.7.4