summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorBorislav Petkov <petkovbb@googlemail.com>2008-02-06 04:57:52 +0300
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-06 04:57:52 +0300
commit37016bab601c2fecfe833d2feda42e6c6f9b08c8 (patch)
tree9470604ca56ecd8c817b1d06498dc8045ebfb3eb /samples
parenta2f5b7f42a73e99518a719189570da43c6b66657 (diff)
downloadlinux-37016bab601c2fecfe833d2feda42e6c6f9b08c8.tar.xz
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 <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions