public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: cs46xx: Remove commented out code
@ 2025-04-08  8:30 Thorsten Blum
  2025-04-08  9:51 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Thorsten Blum @ 2025-04-08  8:30 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai; +Cc: Thorsten Blum, linux-sound, linux-kernel

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(-)

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
 }
 
 
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: cs46xx: Remove commented out code
  2025-04-08  8:30 [PATCH] ALSA: cs46xx: Remove commented out code Thorsten Blum
@ 2025-04-08  9:51 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-04-08  9:51 UTC (permalink / raw)
  To: Thorsten Blum; +Cc: Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-08  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-08  8:30 [PATCH] ALSA: cs46xx: Remove commented out code Thorsten Blum
2025-04-08  9:51 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox