aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:32 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-10-13 15:39:32 -0400
commitaa5d2de7b080873f6d9ac3aede423c9713bf0caa (patch)
treebabf0dbf6a7d7e545053736e5ae6976faddabfd7 /drivers/scsi
parent85e39035ca381846b031690f4d1ac1f0660da0a2 (diff)
ide: make ide_pc_intr() static
* Always use ide_pc_intr as a handler in ide_pc_intr(). * Remove no longer used ide*_pc_intr() and 'handler' argument from ide_{transfer_pc,pc_intr}(). * Make ide_pc_intr() static. There should be no functional changes caused by this patch. Cc: Borislav Petkov <petkovbb@gmail.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ide-scsi.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c
index b4ba40436c4f..8733fe349254 100644
--- a/drivers/scsi/ide-scsi.c
+++ b/drivers/scsi/ide-scsi.c
@@ -270,18 +270,9 @@ static int idescsi_end_request (ide_drive_t *drive, int uptodate, int nrsecs)
270 return 0; 270 return 0;
271} 271}
272 272
273/*
274 * Our interrupt handler.
275 */
276static ide_startstop_t idescsi_pc_intr (ide_drive_t *drive)
277{
278 return ide_pc_intr(drive, idescsi_pc_intr);
279}
280
281static ide_startstop_t idescsi_transfer_pc(ide_drive_t *drive) 273static ide_startstop_t idescsi_transfer_pc(ide_drive_t *drive)
282{ 274{
283 return ide_transfer_pc(drive, idescsi_pc_intr, 275 return ide_transfer_pc(drive, ide_scsi_get_timeout(drive->pc),
284 ide_scsi_get_timeout(drive->pc),
285 ide_scsi_expiry); 276 ide_scsi_expiry);
286} 277}
287 278