opnsense-src/sys/dev/sound
Christos Margiolis 72eb6d65ed 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

(cherry picked from commit 9da3b645db)
2024-04-16 03:47:57 +02:00
..
fdt audio_soc: set "status" as being at simplebus 2024-02-17 16:15:10 +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: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
pci snd_hda: add 32-bit memory quirk for Creative Sound Blaster Audigy FX 2024-03-11 09:18:42 -07:00
pcm sound: Move sndstat_prepare_pcm() to pcm/sndstat.c and remove sndstat_entry->handler 2024-04-16 03:47:57 +02:00
usb snd_uaudio(4): Fix sample rate selection after 42fdcd9fd9. 2024-03-04 01:38:58 +01:00
chip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
clone.c sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
clone.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-30 13:07:29 +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