Skip to content

Commit

Permalink
rxrpc: Kill set but unused variable 'sp' in rxrpc_process_connection()
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed May 19, 2011
1 parent 504f284 commit 9e5e10a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/rxrpc/ar-connevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,6 @@ void rxrpc_process_connection(struct work_struct *work)
{
struct rxrpc_connection *conn =
container_of(work, struct rxrpc_connection, processor);
struct rxrpc_skb_priv *sp;
struct sk_buff *skb;
u32 abort_code = RX_PROTOCOL_ERROR;
int ret;
Expand All @@ -276,8 +275,6 @@ void rxrpc_process_connection(struct work_struct *work)
/* go through the conn-level event packets, releasing the ref on this
* connection that each one has when we've finished with it */
while ((skb = skb_dequeue(&conn->rx_queue))) {
sp = rxrpc_skb(skb);

ret = rxrpc_process_event(conn, skb, &abort_code);
switch (ret) {
case -EPROTO:
Expand Down

0 comments on commit 9e5e10a

Please sign in to comment.