mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
Fixed sparse warnings about functions that were defined but not declared.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -144,7 +144,7 @@ void ft_cmd_dump(struct scst_cmd *cmd, const char *caller)
|
||||
/*
|
||||
* Debug: dump mgmt command.
|
||||
*/
|
||||
void ft_cmd_tm_dump(struct scst_mgmt_cmd *mcmd, const char *caller)
|
||||
static void ft_cmd_tm_dump(struct scst_mgmt_cmd *mcmd, const char *caller)
|
||||
{
|
||||
struct ft_cmd *fcmd;
|
||||
struct fc_exch *ep;
|
||||
@@ -337,16 +337,6 @@ static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Command is about to be sent to device.
|
||||
*/
|
||||
int ft_pre_exec(struct scst_cmd *cmd)
|
||||
{
|
||||
scst_restart_cmd(cmd, SCST_PREPROCESS_STATUS_SUCCESS,
|
||||
SCST_CONTEXT_SAME);
|
||||
return SCST_PREPROCESS_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
/*
|
||||
* Command timeout.
|
||||
* SCST calls this when the command has taken too long in the device handler.
|
||||
|
||||
Reference in New Issue
Block a user