diff options
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index 479af9352a42..3ab08f8dfb25 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
@@ -1875,23 +1875,6 @@ static void fc_io_compl(struct fc_fcp_pkt *fsp) | |||
1875 | } | 1875 | } |
1876 | 1876 | ||
1877 | /** | 1877 | /** |
1878 | * fc_fcp_complete() - complete processing of a fcp packet | ||
1879 | * @fsp: fcp packet | ||
1880 | * | ||
1881 | * This function may sleep if a fsp timer is pending. | ||
1882 | * The host lock must not be held by caller. | ||
1883 | */ | ||
1884 | void fc_fcp_complete(struct fc_fcp_pkt *fsp) | ||
1885 | { | ||
1886 | if (fc_fcp_lock_pkt(fsp)) | ||
1887 | return; | ||
1888 | |||
1889 | fc_fcp_complete_locked(fsp); | ||
1890 | fc_fcp_unlock_pkt(fsp); | ||
1891 | } | ||
1892 | EXPORT_SYMBOL(fc_fcp_complete); | ||
1893 | |||
1894 | /** | ||
1895 | * fc_eh_abort() - Abort a command | 1878 | * fc_eh_abort() - Abort a command |
1896 | * @sc_cmd: scsi command to abort | 1879 | * @sc_cmd: scsi command to abort |
1897 | * | 1880 | * |