From 443250144b45ee07979a3b949585d99d7ae1acea Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sun, 13 Jun 2010 17:35:37 +0000 Subject: [PATCH] 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 --- fcst/ft_cmd.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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.