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>
This commit is contained in:
@@ -1188,9 +1188,7 @@ static inline unsigned long ide_scsi_get_timeout(struct ide_atapi_pc *pc)
|
||||
|
||||
int ide_scsi_expiry(ide_drive_t *);
|
||||
|
||||
ide_startstop_t ide_pc_intr(ide_drive_t *drive, ide_handler_t *handler);
|
||||
ide_startstop_t ide_transfer_pc(ide_drive_t *,
|
||||
ide_handler_t *, unsigned int, ide_expiry_t *);
|
||||
ide_startstop_t ide_transfer_pc(ide_drive_t *, unsigned int, ide_expiry_t *);
|
||||
ide_startstop_t ide_issue_pc(ide_drive_t *,
|
||||
ide_handler_t *, unsigned int, ide_expiry_t *);
|
||||
|
||||
|
Reference in New Issue
Block a user