]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-tape remove pipeline speed/control calculations
authorBorislav Petkov <petkovbb@googlemail.com>
Sun, 27 Apr 2008 13:38:25 +0000 (15:38 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 27 Apr 2008 13:38:25 +0000 (15:38 +0200)
commitddfe7a776360f7067e06eee9d8b1ae4d957e6ddf
treea21e169170f98bda7b604a9b481c12d6ffaf3482
parent97c566cebe083b8e500c9b0b5033212c809d9844
ide-tape remove pipeline speed/control calculations

Pipeline handling calculations in idetape_calculate_speeds() can
go since they do not have any effect on other functionality besides:

1. info is only being exported through /proc as a read-only item
(controlled_pipeline_head_speed, uncontrolled_pipeline_head_speed)

2. used in idetape_restart_speed_control() which, in turn, is unrelated to
other code

3. used only for pipeline frames number accounting (tape->pipeline_head),
also unused elsewhere.

4.some variables are:
        only written to: tape->buffer_head;
        unused: tape->tape_head, tape->last_tape_head

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c