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
This commit is contained in:
Bart Van Assche
2014-04-18 05:56:35 +00:00
parent 7022ad51ac
commit 135be0f19d
+1 -1
View File
@@ -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;