rxrpc: Kill set but unused variable 'sp' in rxrpc_process_connection()
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
504f284a71
commit
9e5e10a225
|
@ -259,7 +259,6 @@ void rxrpc_process_connection(struct work_struct *work)
|
||||||
{
|
{
|
||||||
struct rxrpc_connection *conn =
|
struct rxrpc_connection *conn =
|
||||||
container_of(work, struct rxrpc_connection, processor);
|
container_of(work, struct rxrpc_connection, processor);
|
||||||
struct rxrpc_skb_priv *sp;
|
|
||||||
struct sk_buff *skb;
|
struct sk_buff *skb;
|
||||||
u32 abort_code = RX_PROTOCOL_ERROR;
|
u32 abort_code = RX_PROTOCOL_ERROR;
|
||||||
int ret;
|
int ret;
|
||||||
|
@ -276,8 +275,6 @@ void rxrpc_process_connection(struct work_struct *work)
|
||||||
/* go through the conn-level event packets, releasing the ref on this
|
/* go through the conn-level event packets, releasing the ref on this
|
||||||
* connection that each one has when we've finished with it */
|
* connection that each one has when we've finished with it */
|
||||||
while ((skb = skb_dequeue(&conn->rx_queue))) {
|
while ((skb = skb_dequeue(&conn->rx_queue))) {
|
||||||
sp = rxrpc_skb(skb);
|
|
||||||
|
|
||||||
ret = rxrpc_process_event(conn, skb, &abort_code);
|
ret = rxrpc_process_event(conn, skb, &abort_code);
|
||||||
switch (ret) {
|
switch (ret) {
|
||||||
case -EPROTO:
|
case -EPROTO:
|
||||||
|
|
Loading…
Reference in New Issue