opnsense-src/sys/dev/sound
Christos Margiolis 9da3b645db sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry->handler
Since all sndstat_entry->handler fields point to sndstat_prepare_pcm(),
we can just call the function directly, without assigning it to a
function pointer and calling it indirectly.

While here, move sndstat_prepare_pcm() to pcm/sndstat.c, as it is more
suitable there.

No functional change intended.

Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Reviewed by:	dev_submerge.ch, markj
Differential Revision:	https://reviews.freebsd.org/D44571
2024-04-02 18:56:39 +02:00
..
fdt audio_soc: set "status" as being at simplebus 2024-01-28 13:32:38 +02:00
isa sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
macio sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
midi sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
pci snd_hdspe(4): Only buffer_copy() audio data once. 2024-03-31 20:14:16 +01:00
pcm sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry->handler 2024-04-02 18:56:39 +02:00
usb sound: Implement asynchronous device detach 2024-03-31 22:13:43 +08:00
chip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
driver.c sound: add missing modules to snd_driver 2024-01-16 18:48:56 +02:00
unit.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
unit.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
version.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00