• B
    ide-tape remove pipeline speed/control calculations · ddfe7a77
    Borislav Petkov 提交于
    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: NBorislav Petkov <petkovbb@gmail.com>
    Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    ddfe7a77
ide-tape.c 101.6 KB