diff mbox series

ALSA: cs46xx: Remove commented out code

Message ID 20250408083015.796638-2-thorsten.blum@linux.dev (mailing list archive)
State New
Headers show
Series ALSA: cs46xx: Remove commented out code | expand

Commit Message

Thorsten Blum April 8, 2025, 8:30 a.m. UTC
The code has been commented out ever since commit 1da177e4c3f4
("Linux-2.6.12-rc2"), remove it.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
---
 sound/pci/cs46xx/dsp_spos_scb_lib.c | 7 -------
 1 file changed, 7 deletions(-)

Comments

Takashi Iwai April 8, 2025, 9:51 a.m. UTC | #1
On Tue, 08 Apr 2025 10:30:12 +0200,
Thorsten Blum wrote:
> 
> The code has been commented out ever since commit 1da177e4c3f4
> ("Linux-2.6.12-rc2"), remove it.
> 
> Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>

Applied now.  Thanks.


Takashi
diff mbox series

Patch

diff --git a/sound/pci/cs46xx/dsp_spos_scb_lib.c b/sound/pci/cs46xx/dsp_spos_scb_lib.c
index 1f90ca723f4d..28faca268196 100644
--- a/sound/pci/cs46xx/dsp_spos_scb_lib.c
+++ b/sound/pci/cs46xx/dsp_spos_scb_lib.c
@@ -201,13 +201,6 @@  void cs46xx_dsp_remove_scb (struct snd_cs46xx *chip, struct dsp_scb_descriptor *
 	if (ins->scb_highest_frag_index > ins->nscb) {
 		ins->scb_highest_frag_index = ins->nscb;
 	}
-
-#if 0
-	/* !!!! THIS IS A PIECE OF SHIT MADE BY ME !!! */
-	for(i = scb->index + 1;i < ins->nscb; ++i) {
-		ins->scbs[i - 1].index = i - 1;
-	}
-#endif
 }