[PATCH v2 35/47] staging: vchi: Get rid of struct vchiq_instance forward declaration

Nicolas Saenz Julienne nsaenzjulienne at suse.de
Mon Jun 29 11:09:33 EDT 2020


It's already forward declared in vchiq_if.h. So no need to insist

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne at suse.de>
---
 drivers/staging/vc04_services/interface/vchi/vchi.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/drivers/staging/vc04_services/interface/vchi/vchi.h b/drivers/staging/vc04_services/interface/vchi/vchi.h
index 7108c254a38a..d24e7027c08f 100644
--- a/drivers/staging/vc04_services/interface/vchi/vchi.h
+++ b/drivers/staging/vc04_services/interface/vchi/vchi.h
@@ -4,13 +4,6 @@
 #ifndef VCHI_H_
 #define VCHI_H_
 
-/******************************************************************************
- * Global defs
- *****************************************************************************/
-
-// Opaque handle for a VCHIQ instance
-struct vchiq_instance;
-
 /******************************************************************************
  * Global funcs - implementation is specific to which side you are on
  * (local / remote)
-- 
2.27.0




More information about the linux-rpi-kernel mailing list