mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user