mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-18 21:26:31 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user