Skip to content

Commit

Permalink
rxrpc: Kill set but unused variable 'sp' in rxrpc_rotate_tx_window()
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed May 19, 2011
1 parent f06cd54 commit 504f284
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/rxrpc/ar-ack.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,6 @@ static int rxrpc_process_soft_ACKs(struct rxrpc_call *call,
*/
static void rxrpc_rotate_tx_window(struct rxrpc_call *call, u32 hard)
{
struct rxrpc_skb_priv *sp;
unsigned long _skb;
int tail = call->acks_tail, old_tail;
int win = CIRC_CNT(call->acks_head, tail, call->acks_winsz);
Expand All @@ -387,7 +386,6 @@ static void rxrpc_rotate_tx_window(struct rxrpc_call *call, u32 hard)
while (call->acks_hard < hard) {
smp_read_barrier_depends();
_skb = call->acks_window[tail] & ~1;
sp = rxrpc_skb((struct sk_buff *) _skb);
rxrpc_free_skb((struct sk_buff *) _skb);
old_tail = tail;
tail = (tail + 1) & (call->acks_winsz - 1);
Expand Down

0 comments on commit 504f284

Please sign in to comment.