summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-03-17 09:01:33 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-17 09:01:33 +0100
commit2a5e00ed14e27908dae698900473a65cc53ccd82 (patch)
treef4678b819f41dbd16ea95a7208f9ffa73323a90e
parent0e49887703015dd73667664c5abc9a6366641da9 (diff)
parentfb40b496ad8bbe60a60c25eb2fce20f3cc114679 (diff)
Merge branch 'fix/misc' into for-linus
-rw-r--r--sound/oss/sequencer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/oss/sequencer.c b/sound/oss/sequencer.c
index c79874696be..e85789e5381 100644
--- a/sound/oss/sequencer.c
+++ b/sound/oss/sequencer.c
@@ -1631,8 +1631,6 @@ unsigned long compute_finetune(unsigned long base_freq, int bend, int range,
}
semitones = bend / 100;
- if (semitones > 99)
- semitones = 99;
cents = bend % 100;
amount = (int) (semitone_tuning[semitones] * multiplier * cent_tuning[cents]) / 10000;