aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_cm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_cm.c')
-rw-r--r--drivers/infiniband/hw/nes/nes_cm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/nes/nes_cm.c b/drivers/infiniband/hw/nes/nes_cm.c
index 2caf9da81ad5..2a1d6c7f8d32 100644
--- a/drivers/infiniband/hw/nes/nes_cm.c
+++ b/drivers/infiniband/hw/nes/nes_cm.c
@@ -519,7 +519,7 @@ static void nes_cm_timer_tick(unsigned long pass)
519 do { 519 do {
520 send_entry = cm_node->send_entry; 520 send_entry = cm_node->send_entry;
521 if (!send_entry) 521 if (!send_entry)
522 continue; 522 break;
523 if (time_after(send_entry->timetosend, jiffies)) { 523 if (time_after(send_entry->timetosend, jiffies)) {
524 if (cm_node->state != NES_CM_STATE_TSA) { 524 if (cm_node->state != NES_CM_STATE_TSA) {
525 if ((nexttimeout > 525 if ((nexttimeout >
@@ -528,18 +528,18 @@ static void nes_cm_timer_tick(unsigned long pass)
528 nexttimeout = 528 nexttimeout =
529 send_entry->timetosend; 529 send_entry->timetosend;
530 settimer = 1; 530 settimer = 1;
531 continue; 531 break;
532 } 532 }
533 } else { 533 } else {
534 free_retrans_entry(cm_node); 534 free_retrans_entry(cm_node);
535 continue; 535 break;
536 } 536 }
537 } 537 }
538 538
539 if ((cm_node->state == NES_CM_STATE_TSA) || 539 if ((cm_node->state == NES_CM_STATE_TSA) ||
540 (cm_node->state == NES_CM_STATE_CLOSED)) { 540 (cm_node->state == NES_CM_STATE_CLOSED)) {
541 free_retrans_entry(cm_node); 541 free_retrans_entry(cm_node);
542 continue; 542 break;
543 } 543 }
544 544
545 if (!send_entry->retranscount || 545 if (!send_entry->retranscount ||
@@ -557,7 +557,7 @@ static void nes_cm_timer_tick(unsigned long pass)
557 NES_CM_EVENT_ABORTED); 557 NES_CM_EVENT_ABORTED);
558 spin_lock_irqsave(&cm_node->retrans_list_lock, 558 spin_lock_irqsave(&cm_node->retrans_list_lock,
559 flags); 559 flags);
560 continue; 560 break;
561 } 561 }
562 atomic_inc(&send_entry->skb->users); 562 atomic_inc(&send_entry->skb->users);
563 cm_packets_retrans++; 563 cm_packets_retrans++;
@@ -583,7 +583,7 @@ static void nes_cm_timer_tick(unsigned long pass)
583 send_entry->retrycount--; 583 send_entry->retrycount--;
584 nexttimeout = jiffies + NES_SHORT_TIME; 584 nexttimeout = jiffies + NES_SHORT_TIME;
585 settimer = 1; 585 settimer = 1;
586 continue; 586 break;
587 } else { 587 } else {
588 cm_packets_sent++; 588 cm_packets_sent++;
589 } 589 }