diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2014-05-29 12:58:25 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-05-30 04:12:10 -0400 |
commit | 66470c973c1b000a9830a58f89741704a9136daa (patch) | |
tree | b1104f921680b09e83cb6cfd2e16b3b3a67f0ddb | |
parent | 55d0cc2998dac3714991d8d031c4a60d14917efb (diff) |
ALSA: gus: remove checks for CONFIG_SND_DEBUG_ROM
Checks for CONFIG_SND_DEBUG_ROM were added in v2.5.5 but a Kconfig
symbol SND_DEBUG_ROM was never added. These checks have always
evaluated to false. Remove them and the printk()s they hide.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/isa/gus/interwave.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/isa/gus/interwave.c b/sound/isa/gus/interwave.c index 5abbbe477d16..ad55e5cb8e94 100644 --- a/sound/isa/gus/interwave.c +++ b/sound/isa/gus/interwave.c | |||
@@ -442,17 +442,11 @@ static void snd_interwave_detect_memory(struct snd_gus_card *gus) | |||
442 | for (bank_pos = 0; bank_pos < 16L * 1024L * 1024L; bank_pos += 4L * 1024L * 1024L) { | 442 | for (bank_pos = 0; bank_pos < 16L * 1024L * 1024L; bank_pos += 4L * 1024L * 1024L) { |
443 | for (i = 0; i < 8; ++i) | 443 | for (i = 0; i < 8; ++i) |
444 | iwave[i] = snd_gf1_peek(gus, bank_pos + i); | 444 | iwave[i] = snd_gf1_peek(gus, bank_pos + i); |
445 | #ifdef CONFIG_SND_DEBUG_ROM | ||
446 | printk(KERN_DEBUG "ROM at 0x%06x = %8phC\n", bank_pos, iwave); | ||
447 | #endif | ||
448 | if (strncmp(iwave, "INTRWAVE", 8)) | 445 | if (strncmp(iwave, "INTRWAVE", 8)) |
449 | continue; /* first check */ | 446 | continue; /* first check */ |
450 | csum = 0; | 447 | csum = 0; |
451 | for (i = 0; i < sizeof(struct rom_hdr); i++) | 448 | for (i = 0; i < sizeof(struct rom_hdr); i++) |
452 | csum += snd_gf1_peek(gus, bank_pos + i); | 449 | csum += snd_gf1_peek(gus, bank_pos + i); |
453 | #ifdef CONFIG_SND_DEBUG_ROM | ||
454 | printk(KERN_DEBUG "ROM checksum = 0x%x (computed)\n", csum); | ||
455 | #endif | ||
456 | if (csum != 0) | 450 | if (csum != 0) |
457 | continue; /* not valid rom */ | 451 | continue; /* not valid rom */ |
458 | gus->gf1.rom_banks++; | 452 | gus->gf1.rom_banks++; |