scsi: libiscsi: Fix indentation
authorBart Van Assche <bart.vanassche@wdc.com>
Fri, 25 Aug 2017 20:46:37 +0000 (13:46 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:08:08 +0000 (17:08 -0400)
This patch avoids that smatch reports the following:

drivers/scsi/libiscsi.c:1081: iscsi_handle_reject() warn: inconsistent indenting

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libiscsi.c

index 42381adf076991d4e2fb4ed2a11e18162e93df25..bd4605a34f54d655a09471243c8d4386b9e78b3d 100644 (file)
@@ -1078,7 +1078,7 @@ static int iscsi_handle_reject(struct iscsi_conn *conn, struct iscsi_hdr *hdr,
                if (opcode != ISCSI_OP_NOOP_OUT)
                        return 0;
 
-                if (rejected_pdu.itt == cpu_to_be32(ISCSI_RESERVED_TAG)) {
+               if (rejected_pdu.itt == cpu_to_be32(ISCSI_RESERVED_TAG)) {
                        /*
                         * nop-out in response to target's nop-out rejected.
                         * Just resend.