RDMA/i40iw: Remove a set-but-not-used variable

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Bart Van Assche 2017-10-11 10:49:04 -07:00 committed by Doug Ledford
parent ad4d634010
commit 4956f031e1
1 changed files with 0 additions and 2 deletions

View File

@ -1199,7 +1199,6 @@ static void i40iw_cm_timer_tick(unsigned long pass)
struct i40iw_cm_core *cm_core = (struct i40iw_cm_core *)pass;
u32 settimer = 0;
unsigned long timetosend;
struct i40iw_sc_dev *dev;
unsigned long flags;
struct list_head timer_list;
@ -1270,7 +1269,6 @@ static void i40iw_cm_timer_tick(unsigned long pass)
spin_unlock_irqrestore(&cm_node->retrans_list_lock, flags);
vsi = &cm_node->iwdev->vsi;
dev = cm_node->dev;
if (!cm_node->ack_rcvd) {
atomic_inc(&send_entry->sqbuf->refcount);