From 7a18672a83dda5a9ded848ff9bff9e921a83b048 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 21 Jan 2015 04:15:42 +0000 Subject: [PATCH] Follow up for r5979 git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5981 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_lib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index a344cfb6f..5bd950d06 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -6588,6 +6588,7 @@ out: } #endif +#if !defined(SCSI_EXEC_REQ_FIFO_DEFINED) /* * Can switch to the next dst_sg element, so, to copy to strictly only * one dst_sg element, it must be either last in the chain, or @@ -6739,6 +6740,7 @@ static int sg_copy(struct scatterlist *dst_sg, struct scatterlist *src_sg, out: return res; } +#endif /* !defined(SCSI_EXEC_REQ_FIFO_DEFINED) */ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 30) static void scsi_end_async(struct request *req, int error)