diff options
Diffstat (limited to 'drivers/scsi/cxgb3i/cxgb3i_pdu.c')
-rw-r--r-- | drivers/scsi/cxgb3i/cxgb3i_pdu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i_pdu.c b/drivers/scsi/cxgb3i/cxgb3i_pdu.c index 1fe3b0f1f3c9..9c38539557fc 100644 --- a/drivers/scsi/cxgb3i/cxgb3i_pdu.c +++ b/drivers/scsi/cxgb3i/cxgb3i_pdu.c | |||
@@ -461,10 +461,8 @@ void cxgb3i_conn_pdu_ready(struct s3_conn *c3cn) | |||
461 | skb = skb_peek(&c3cn->receive_queue); | 461 | skb = skb_peek(&c3cn->receive_queue); |
462 | } | 462 | } |
463 | read_unlock(&c3cn->callback_lock); | 463 | read_unlock(&c3cn->callback_lock); |
464 | if (c3cn) { | 464 | c3cn->copied_seq += read; |
465 | c3cn->copied_seq += read; | 465 | cxgb3i_c3cn_rx_credits(c3cn, read); |
466 | cxgb3i_c3cn_rx_credits(c3cn, read); | ||
467 | } | ||
468 | conn->rxdata_octets += read; | 466 | conn->rxdata_octets += read; |
469 | 467 | ||
470 | if (err) { | 468 | if (err) { |