From ddbaa159cab4e6245028a61e2fb406921321152a Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 13 Jan 2010 08:21:39 +0000 Subject: [PATCH] Fixed the following checkpatch complaint: 1 WARNING: braces {} are not necessary for single statement blocks git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1457 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 5b185c97c..3a265cc26 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -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 "