mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 05:06:31 +00:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user