Commit a3178da4 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: avoid line over 80 chars in wilc_wlan_txq_filter_dup_tcp_ack()

Cleanup patch to avoid line over 80 chars checkpatch issue introduced in
previous code refactor commit.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 95e05b4b
...@@ -199,19 +199,20 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev) ...@@ -199,19 +199,20 @@ static int wilc_wlan_txq_filter_dup_tcp_ack(struct net_device *dev)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&wilc->txq_spinlock, flags); spin_lock_irqsave(&wilc->txq_spinlock, flags);
for (i = f->pending_base; i < (f->pending_base + f->pending_acks); i++) { for (i = f->pending_base;
u32 session_index; i < (f->pending_base + f->pending_acks); i++) {
u32 index;
u32 bigger_ack_num; u32 bigger_ack_num;
if (i >= MAX_PENDING_ACKS) if (i >= MAX_PENDING_ACKS)
break; break;
session_index = f->pending_acks_info[i].session_index; index = f->pending_acks_info[i].session_index;
if (session_index >= 2 * MAX_TCP_SESSION) if (index >= 2 * MAX_TCP_SESSION)
break; break;
bigger_ack_num = f->ack_session_info[session_index].bigger_ack_num; bigger_ack_num = f->ack_session_info[index].bigger_ack_num;
if (f->pending_acks_info[i].ack_num < bigger_ack_num) { if (f->pending_acks_info[i].ack_num < bigger_ack_num) {
struct txq_entry_t *tqe; struct txq_entry_t *tqe;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment