[PATCH 0/7] staging: vc04_services: Some dead code removal

Tuomas Tynkkynen tuomas.tynkkynen at iki.fi
Thu Oct 4 09:37:40 UTC 2018


Drop various pieces of dead code from here and there to get rid of
the remaining users of VCHI_CONNECTION_T. After that we get to drop
entire header files worth of unused code.

I've tested on a Raspberry Pi Model B (bcm2835_defconfig) that
snd-bcm2835 can still play analog audio just fine.

Tuomas Tynkkynen (7):
  staging: vc04_services: Drop pointless stub functions
  staging: vc04_services: Drop 'connection' field from
    SERVICE_CREATION_T
  staging: vc04_services: Drop trivially unused fields from
    SERVICE_CREATION_T
  staging: vc04_services: Drop declaration of vchi_crc_control()
  staging: vc04_services: Drop VCHI_SERVICE_INIT and SERVICE_INFO_T
  staging: vc04_services: Drop unused parameters from vchi_connect()
  staging: vc04_services: Drop no longer needed headers

 .../bcm2835-audio/bcm2835-vchiq.c             |  10 +-
 .../vc04_services/bcm2835-audio/bcm2835.h     |   1 -
 .../vc04_services/bcm2835-camera/mmal-vchiq.c |   9 +-
 .../interface/vchi/connections/connection.h   | 324 ------------------
 .../interface/vchi/message_drivers/message.h  | 196 -----------
 .../vc04_services/interface/vchi/vchi.h       |  41 +--
 .../interface/vchi/vchi_cfg_internal.h        |  71 ----
 .../interface/vchiq_arm/vchiq_shim.c          |  38 +-
 8 files changed, 5 insertions(+), 685 deletions(-)
 delete mode 100644 drivers/staging/vc04_services/interface/vchi/connections/connection.h
 delete mode 100644 drivers/staging/vc04_services/interface/vchi/message_drivers/message.h
 delete mode 100644 drivers/staging/vc04_services/interface/vchi/vchi_cfg_internal.h

-- 
2.18.0



More information about the devel mailing list