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
This commit is contained in:
Bart Van Assche
2010-01-13 08:21:39 +00:00
parent 21476c4b9c
commit ddbaa159ca

View 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 "