diff options
-rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 17 | ||||
-rw-r--r-- | include/scsi/libfc.h | 8 |
2 files changed, 0 insertions, 25 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 | * |
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index f207b6cac06f..db2175da2da5 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -888,14 +888,6 @@ int fc_queuecommand(struct scsi_cmnd *sc_cmd, | |||
888 | void (*done)(struct scsi_cmnd *)); | 888 | void (*done)(struct scsi_cmnd *)); |
889 | 889 | ||
890 | /* | 890 | /* |
891 | * complete processing of a fcp packet | ||
892 | * | ||
893 | * This function may sleep if a fsp timer is pending. | ||
894 | * The host lock must not be held by caller. | ||
895 | */ | ||
896 | void fc_fcp_complete(struct fc_fcp_pkt *fsp); | ||
897 | |||
898 | /* | ||
899 | * Send an ABTS frame to the target device. The sc_cmd argument | 891 | * Send an ABTS frame to the target device. The sc_cmd argument |
900 | * is a pointer to the SCSI command to be aborted. | 892 | * is a pointer to the SCSI command to be aborted. |
901 | */ | 893 | */ |