ALSA: intel8x0: Drop unused snd_printd() calls
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Aug 2024 13:34:36 +0000 (15:34 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 8 Aug 2024 05:49:47 +0000 (07:49 +0200)
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
sound/pci/intel8x0.c
sound/pci/intel8x0m.c

index dae3e15ba534de63e6071f3b3831941687bd1fc3..e4bb99f71c2c9e98e31cc240ad31e54519186d70 100644 (file)
@@ -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;
        }
 
index 3d6f5b3cc73e173299f2f17d9ac3ac25cb08f4c3..38f8de51d6415a81495b057a498434dcdf84aa20 100644 (file)
@@ -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;
        }