aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
authorBorislav Petkov <bbpetkov@yahoo.de>2008-02-02 13:56:51 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:51 -0500
commit419d4741ce108a56ce59e9dc064730af59b7e843 (patch)
treecee20ecbff82a214e0bd4ade9ae686fdee456951 /drivers/ide
parentfa36625bf7cb4f5ea5314b550898542f83cb5d4f (diff)
ide-tape: make function name more accurate
idetape_active_next_stage() was rather ambiguous wrt its purpose. Make that more explicit and remove superfluous comment. Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/ide-tape.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 2d4d28271101..8b9da8bb5cce 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -846,10 +846,7 @@ static void idetape_analyze_error(ide_drive_t *drive, u8 *sense)
846 } 846 }
847} 847}
848 848
849/* 849static void idetape_activate_next_stage(ide_drive_t *drive)
850 * idetape_active_next_stage will declare the next stage as "active".
851 */
852static void idetape_active_next_stage (ide_drive_t *drive)
853{ 850{
854 idetape_tape_t *tape = drive->driver_data; 851 idetape_tape_t *tape = drive->driver_data;
855 idetape_stage_t *stage = tape->next_stage; 852 idetape_stage_t *stage = tape->next_stage;
@@ -1040,7 +1037,7 @@ static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects)
1040 } 1037 }
1041 } 1038 }
1042 if (tape->next_stage != NULL) { 1039 if (tape->next_stage != NULL) {
1043 idetape_active_next_stage(drive); 1040 idetape_activate_next_stage(drive);
1044 1041
1045 /* 1042 /*
1046 * Insert the next request into the request queue. 1043 * Insert the next request into the request queue.
@@ -2414,7 +2411,7 @@ static void idetape_insert_pipeline_into_queue (ide_drive_t *drive)
2414 return; 2411 return;
2415 if (!idetape_pipeline_active(tape)) { 2412 if (!idetape_pipeline_active(tape)) {
2416 set_bit(IDETAPE_PIPELINE_ACTIVE, &tape->flags); 2413 set_bit(IDETAPE_PIPELINE_ACTIVE, &tape->flags);
2417 idetape_active_next_stage(drive); 2414 idetape_activate_next_stage(drive);
2418 (void) ide_do_drive_cmd(drive, tape->active_data_request, ide_end); 2415 (void) ide_do_drive_cmd(drive, tape->active_data_request, ide_end);
2419 } 2416 }
2420} 2417}