[PATCH] staging: bcm2835-audio: remove unused bcm2835_audio_retrieve_buffers() declaration

From: Yusuke Hayashi via B4 Relay

Date: Wed Nov 11 2026 - 23:30:09 EST


From: Yusuke Hayashi <yusuke8h@xxxxxxxxx>

bcm2835_audio_retrieve_buffers() is declared in bcm2835.h, but its
definition and sole caller were removed in commit d7ca3a71545b
("staging: bcm2835-audio: Operate non-atomic PCM ops").

Remove the orphaned function declaration.

Signed-off-by: Yusuke Hayashi <yusuke8h@xxxxxxxxx>
---
Found while scanning staging headers for declarations without definitions
with an AI coding assistant, verified against commit d7ca3a71545b, and
compile-tested with Clang 18 (LLVM=1 W=1 C=2) and GCC 13 (W=1 C=2) with
CONFIG_SND_BCM2835=m.
---
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
index 5a1348747ff4..54ad749129fc 100644
--- a/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
+++ b/drivers/staging/vc04_services/bcm2835-audio/bcm2835.h
@@ -107,6 +107,5 @@ int bcm2835_audio_write(struct bcm2835_alsa_stream *alsa_stream,
void *src);
void bcm2835_playback_fifo(struct bcm2835_alsa_stream *alsa_stream,
unsigned int size);
-unsigned int bcm2835_audio_retrieve_buffers(struct bcm2835_alsa_stream *alsa_stream);

#endif /* __SOUND_ARM_BCM2835_H */

---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20261112-bcm2835-audio-unused-decl-426a1123b3e8

Best regards,
--
Yusuke Hayashi <yusuke8h@xxxxxxxxx>