]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: tas2781-spi: Delete some dead code
authorDan Carpenter <dan.carpenter@linaro.org>
Wed, 22 Jan 2025 07:18:06 +0000 (10:18 +0300)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Jan 2025 08:28:24 +0000 (09:28 +0100)
commitbe125a0b8946a69cd8d91340ae14ec72ef6558fc
tree5eb66db9461a4b5a03690bf398fbbc9e223a55f6
parent0a8f5f4652ef4d530a7cb8bed2b6e502cdfa825f
ALSA: hda: tas2781-spi: Delete some dead code

The scnprintf() function never returns negatives.  And it won't return
zero here either, plus if it did we'd need to fix the error code.
Delete this dead code.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/d57ded9e-9969-4922-8347-67b758499483@stanley.mountain
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/tas2781_hda_spi.c