Skip to content

Commit

Permalink
[SCSI] libfc: Remove fc_fcp_complete
Browse files Browse the repository at this point in the history
This function is never used, let's remove it.

Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Robert Love authored and James Bottomley committed Dec 4, 2009
1 parent 1a7b75a commit 255f638
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
17 changes: 0 additions & 17 deletions drivers/scsi/libfc/fc_fcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1874,23 +1874,6 @@ static void fc_io_compl(struct fc_fcp_pkt *fsp)
fc_fcp_pkt_release(fsp);
}

/**
* fc_fcp_complete() - complete processing of a fcp packet
* @fsp: fcp packet
*
* This function may sleep if a fsp timer is pending.
* The host lock must not be held by caller.
*/
void fc_fcp_complete(struct fc_fcp_pkt *fsp)
{
if (fc_fcp_lock_pkt(fsp))
return;

fc_fcp_complete_locked(fsp);
fc_fcp_unlock_pkt(fsp);
}
EXPORT_SYMBOL(fc_fcp_complete);

/**
* fc_eh_abort() - Abort a command
* @sc_cmd: scsi command to abort
Expand Down
8 changes: 0 additions & 8 deletions include/scsi/libfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -887,14 +887,6 @@ int fc_fcp_init(struct fc_lport *);
int fc_queuecommand(struct scsi_cmnd *sc_cmd,
void (*done)(struct scsi_cmnd *));

/*
* complete processing of a fcp packet
*
* This function may sleep if a fsp timer is pending.
* The host lock must not be held by caller.
*/
void fc_fcp_complete(struct fc_fcp_pkt *fsp);

/*
* Send an ABTS frame to the target device. The sc_cmd argument
* is a pointer to the SCSI command to be aborted.
Expand Down

0 comments on commit 255f638

Please sign in to comment.