mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 06:01:57 +00:00
ALSA: intel8x0: Drop unused snd_printd() calls
There are commented out debug prints, which are utterly superfluous. Let's drop them. Reviewed-by: Jaroslav Kysela <perex@perex.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20240807133452.9424-47-tiwai@suse.de
This commit is contained in:
parent
df04b43fee
commit
c7e58049a2
@ -703,7 +703,6 @@ static inline void snd_intel8x0_update(struct intel8x0 *chip, struct ichdev *ich
|
||||
if (!(status & ICH_BCIS)) {
|
||||
step = 0;
|
||||
} else if (civ == ichdev->civ) {
|
||||
// snd_printd("civ same %d\n", civ);
|
||||
step = 1;
|
||||
ichdev->civ++;
|
||||
ichdev->civ &= ICH_REG_LVI_MASK;
|
||||
@ -711,8 +710,6 @@ static inline void snd_intel8x0_update(struct intel8x0 *chip, struct ichdev *ich
|
||||
step = civ - ichdev->civ;
|
||||
if (step < 0)
|
||||
step += ICH_REG_LVI_MASK + 1;
|
||||
// if (step != 1)
|
||||
// snd_printd("step = %d, %d -> %d\n", step, ichdev->civ, civ);
|
||||
ichdev->civ = civ;
|
||||
}
|
||||
|
||||
|
@ -423,7 +423,6 @@ static inline void snd_intel8x0m_update(struct intel8x0m *chip, struct ichdev *i
|
||||
|
||||
civ = igetbyte(chip, port + ICH_REG_OFF_CIV);
|
||||
if (civ == ichdev->civ) {
|
||||
// snd_printd("civ same %d\n", civ);
|
||||
step = 1;
|
||||
ichdev->civ++;
|
||||
ichdev->civ &= ICH_REG_LVI_MASK;
|
||||
@ -431,8 +430,6 @@ static inline void snd_intel8x0m_update(struct intel8x0m *chip, struct ichdev *i
|
||||
step = civ - ichdev->civ;
|
||||
if (step < 0)
|
||||
step += ICH_REG_LVI_MASK + 1;
|
||||
// if (step != 1)
|
||||
// snd_printd("step = %d, %d -> %d\n", step, ichdev->civ, civ);
|
||||
ichdev->civ = civ;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user