From: Borislav Petkov Date: Wed, 6 Feb 2008 01:57:52 +0000 (+0100) Subject: ide-tape: remove unreachable code chunk X-Git-Tag: v2.6.25-rc1~779^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37016bab601c2fecfe833d2feda42e6c6f9b08c8;p=pandora-kernel.git ide-tape: remove unreachable code chunk tape->speed_control is set to 1 in idetape_setup(), but, in calculate_speeds() its value is tested for being 0, 1, or 2. Remove the if-branches where tape->speed_control != 1 since they are never executed. Also, rename calculate_speeds() by adding driver's prefix as is with the other function names. Signed-off-by: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed