Compiles again without warnings.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 12 Feb 2010 18:59:15 +0000 (18:59 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Fri, 12 Feb 2010 18:59:15 +0000 (18:59 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1501 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/kernel/iscsi.c

index 7fda14b..826c0e3 100644 (file)
@@ -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;