ib_srpt: Remove an unused variable

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4263 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-05-02 09:30:22 +00:00
parent 8f289d5f8e
commit 7937b1b5cb
-2
View File
@@ -2194,13 +2194,11 @@ static void srpt_destroy_ch_ib(struct srpt_rdma_ch *ch)
*/
static bool __srpt_close_ch(struct srpt_rdma_ch *ch)
{
struct srpt_device *sdev;
enum rdma_ch_state prev_state;
bool was_live;
BUG_ON(!ch->cm_id);
sdev = ch->sport->sdev;
was_live = false;
prev_state = srpt_set_ch_state_to_disc(ch);