From 6f5bc12172c638f932bae6ac6dbc22c9cb561a7d Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Wed, 24 Jun 2009 23:10:53 +0000 Subject: [PATCH] Remove an ugly hack that was left in just in case. It has been confirmed to be not needed. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@921 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index a7b4cfdda..da46cd58c 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -84,14 +84,6 @@ static unsigned long scst_local_trace_flag = SCST_LOCAL_DEFAULT_LOG_FLAGS; #define scsi_sg_count(cmd) ((cmd)->use_sg) #define scsi_sglist(cmd) ((struct scatterlist *)(cmd)->request_buffer) #define scsi_bufflen(cmd) ((cmd)->request_bufflen) - -/* Include the following manually of scsi_set_resid is not defined */ -#if 0 -static inline void scsi_set_resid(struct scsi_cmnd *cmd, int resid) -{ - cmd->resid = resid; -} -#endif #endif #define TRUE 1