From: Roland Dreier Date: Mon, 16 Jul 2012 18:04:36 +0000 (-0700) Subject: qla2xxx: Get rid of redundant qla_tgt_sess.tearing_down X-Git-Tag: v3.6-rc1~156^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b46e34a6721cb057702f19ebe27cfc7877e500e5;p=pandora-kernel.git qla2xxx: Get rid of redundant qla_tgt_sess.tearing_down The only place that sets qla_tgt_sess.tearing_down calls target_splice_sess_cmd_list() immediately afterwards, without dropping the lock it holds. That function sets se_session.sess_tearing_down, so we can get rid of the qla_target-specific flag, and in the one place that looks at the qla_tgt_sess.tearing_down flag just test se_session.sess_tearing_down instead. Cc: Chad Dupuis Cc: Arun Easi Signed-off-by: Roland Dreier Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed