projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a81aca6
)
ALSA: cs46xx: Remove commented out code
author
Thorsten Blum
<thorsten.blum@linux.dev>
Tue, 8 Apr 2025 08:30:12 +0000
(10:30 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 8 Apr 2025 09:53:45 +0000
(11:53 +0200)
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>
Link:
https://patch.msgid.link/20250408083015.796638-2-thorsten.blum@linux.dev
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs46xx/dsp_spos_scb_lib.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/cs46xx/dsp_spos_scb_lib.c
b/sound/pci/cs46xx/dsp_spos_scb_lib.c
index 1f90ca723f4df72006b072c6416f84e3c3344a46..28faca268196fd69ecfe7a4bf7fa1554f314d555 100644
(file)
--- 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
}