sound: sequencer: clean up remove bogus check

A few lines earlier bend is limited to 2399.  So semitones is always
less than 24 here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Dan Carpenter 2010-03-16 09:46:23 +03:00 коммит произвёл Takashi Iwai
Родитель a9104f9899
Коммит fb40b496ad
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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;