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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Thu Nov 19 23:21:51 PST 2026


On Thu, Nov 12, 2026 at 04:29:55AM +0000, Yusuke Hayashi via B4 Relay wrote:
> From: Yusuke Hayashi <yusuke8h at gmail.com>
> 
> 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 at gmail.com>
> ---
> 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(-)

Please read: https://lore.kernel.org/r/2026080354-skater-urgent-31b2@gregkh



More information about the linux-rpi-kernel mailing list