From 135be0f19df955c6e38232d1026022a2ba02382d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 18 Apr 2014 05:56:35 +0000 Subject: [PATCH] iscsi-scst: Fix a checkpatch warning Fix the following checkpatch 3.14 warning: Unnecessary parentheses - maybe == should be = ? git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5435 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/conn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/kernel/conn.c b/iscsi-scst/kernel/conn.c index 47e1117de..b07249022 100644 --- a/iscsi-scst/kernel/conn.c +++ b/iscsi-scst/kernel/conn.c @@ -502,7 +502,7 @@ void __iscsi_write_space_ready(struct iscsi_conn *conn) spin_lock_bh(&p->wr_lock); conn->wr_space_ready = 1; - if ((conn->wr_state == ISCSI_CONN_WR_STATE_SPACE_WAIT)) { + if (conn->wr_state == ISCSI_CONN_WR_STATE_SPACE_WAIT) { TRACE_DBG("wr space ready (conn %p)", conn); list_add_tail(&conn->wr_list_entry, &p->wr_list); conn->wr_state = ISCSI_CONN_WR_STATE_IN_LIST;