This patch series contains a wild mix of cleanups. Most of them remove unused parts. But there are also improvements to better understand the code. Finally the testing instructions are updated. The series has been tested with a Raspberry Pi 3 B Plus. Changes in V3: - Add Laurent's Reviewed-bys - fix add_completion handling in Patch #7 Changes in V2: - Add Laurent's Reviewed-bys - Drop "staging: vchiq_core: Add comments to mutex/spinlocks" and "staging: vchiq: Move struct vchiq_config to vchiq.h" from the series this will be addressed in a different series - Rework patch #1 to use a common return code variable - Rework patch #7 to avoid goto - Add patch #10 to fix scatter-gather casting Stefan Wahren (10): staging: vchiq_arm: Unify return code variable staging: vchiq_arm: Drop obsolete comment staging: vchiq_core: Drop non-functional struct members staging: vchiq_arm: Drop unnecessary declarations staging: vchiq_arm: Get the rid off struct vchiq_2835_state staging: vchiq_arm: Drop vchiq_arm_init_state staging: vchiq_arm: Reduce indentation of service_callback staging: vchiq_core: Add hex prefix to debugfs output staging: vchiq_arm: Don't cast scatter-gather elements staging: vc04_services: Update testing instructions .../staging/vc04_services/interface/TESTING | 45 ++- .../interface/vchiq_arm/vchiq_arm.c | 258 +++++++++--------- .../interface/vchiq_arm/vchiq_arm.h | 3 - .../interface/vchiq_arm/vchiq_core.c | 10 +- .../interface/vchiq_arm/vchiq_core.h | 6 - 5 files changed, 171 insertions(+), 151 deletions(-) -- 2.34.1