]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: aoa: Remove redundant size arguments from strscpy()
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 11 Sep 2025 21:43:22 +0000 (23:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 12 Sep 2025 05:54:40 +0000 (07:54 +0200)
commite135eeef0b25d44fe71dc3b71b0106d48d825470
tree091971b35241e8c4e062d1da403c59b7b73cfde8
parent3c30d57544bf91d6adaf3cab8474194e4c4404bc
ALSA: aoa: Remove redundant size arguments from strscpy()

The size parameter of strscpy() is optional if the destination buffer
has a fixed length and strscpy() can automatically determine its size
using sizeof(). This makes many explicit size arguments redundant.

Remove them to shorten and simplify the code.

No functional changes intended.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/codecs/onyx.c
sound/aoa/codecs/tas.c
sound/aoa/codecs/toonie.c
sound/aoa/core/alsa.c
sound/aoa/fabrics/layout.c