Fixed the following checkpatch complaint:
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 13 Jan 2010 08:21:39 +0000 (08:21 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 13 Jan 2010 08:21:39 +0000 (08:21 +0000)
   1 WARNING: braces {} are not necessary for single statement blocks

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1457 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/kernel/iscsi.c

index 5b185c9..3a265cc 100644 (file)
@@ -3109,9 +3109,8 @@ static int iscsi_xmit_response(struct scst_cmd *scst_cmd)
                req->sg_cnt);
 
        EXTRACHECKS_BUG_ON(req->hashed);
-       if (req->main_rsp != NULL) {
+       if (req->main_rsp != NULL)
                EXTRACHECKS_BUG_ON(cmnd_opcode(req->main_rsp) != ISCSI_OP_REJECT);
-       }
 
        if (unlikely((req->bufflen != 0) && !is_send_status)) {
                PRINT_CRIT_ERROR("%s", "Sending DATA without STATUS is "