diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index ccca70c6d..f21a601fd 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -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.