scst: Remove an unused variable

This patch fixes a compiler warning that was introduced in r7861.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7867 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-01-07 04:29:32 +00:00
parent 3e64094b0c
commit d83a51cee3

View File

@@ -8504,7 +8504,6 @@ static void scsi_end_async(struct request *req, blk_status_t error)
#endif
{
struct scsi_io_context *sioc = req->end_io_data;
int result;
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
TRACE_DBG("sioc %p, cmd %p, error %d / %d", sioc, sioc->data, error,