From: Andy Grover Date: Tue, 3 Apr 2012 22:51:08 +0000 (-0700) Subject: target/iscsi: Remove unneeded locking from iscsi_target_tx_thread X-Git-Tag: v3.5-rc1~111^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4580cf38483790a4304a15328303566a054d4ea5;p=pandora-kernel.git target/iscsi: Remove unneeded locking from iscsi_target_tx_thread When processing immediate queue, we're switching on a local variable so it's not necessary to lock around it. However, we are modifying cmd->i_state in two spots, so lock around those parts only. Signed-off-by: Andy Grover Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed