From 7eee1392b837bf780dc5b444e27e8fb7bbab9cdd Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 12 Feb 2010 18:59:15 +0000 Subject: [PATCH] Compiles again without warnings. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1501 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 7fda14b4c..826c0e311 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -1915,7 +1915,9 @@ static int data_out_start(struct iscsi_cmnd *cmnd) struct iscsi_data_out_hdr *req_hdr = (struct iscsi_data_out_hdr *)&cmnd->pdu.bhs; struct iscsi_cmnd *orig_req; +#if 0 struct iscsi_hdr *orig_req_hdr; +#endif u32 offset = be32_to_cpu(req_hdr->buffer_offset); int res = 0;