From 4839c8167fe9ee03b88e5c9f075688d59fe29945 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 1 Jun 2011 07:19:12 +0000 Subject: [PATCH] iscsi-scst: get rid of two "suspect code indent for conditional statements" checkpatch complaints. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3497 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/nthread.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/iscsi-scst/kernel/nthread.c b/iscsi-scst/kernel/nthread.c index 8c316bdcd..a662c9bef 100644 --- a/iscsi-scst/kernel/nthread.c +++ b/iscsi-scst/kernel/nthread.c @@ -1564,9 +1564,10 @@ out_res: out_err: #ifndef CONFIG_SCST_DEBUG - if (!conn->closing) -#endif + if (!conn->closing) { +#else { +#endif PRINT_ERROR("error %d at sid:cid %#Lx:%u, cmnd %p", res, (long long unsigned int)conn->session->sid, conn->cid, conn->write_cmnd); @@ -1593,9 +1594,10 @@ static int exit_tx(struct iscsi_conn *conn, int res) break; default: #ifndef CONFIG_SCST_DEBUG - if (!conn->closing) -#endif + if (!conn->closing) { +#else { +#endif PRINT_ERROR("Sending data failed: initiator %s, " "write_size %d, write_state %d, res %d", conn->session->initiator_name,