From 64ebf86f67fe5b2c60cd439c8d346036c5ed8d8d Mon Sep 17 00:00:00 2001 From: "David S. Miller" Date: Thu, 19 May 2011 18:37:11 -0400 Subject: [PATCH] --- yaml --- r: 247735 b: refs/heads/master c: c9d10c497c3728a5c798c11486dccdc01b2092a8 h: refs/heads/master i: 247733: 7464a5a65c487a7df760a781927031764ac99681 247731: 4a81309cf0e57d9b84ea21f77640a0937c00963a 247727: 14d43f3a56425c13b1cbe3307e4aed265278af3a v: v3 --- [refs] | 2 +- trunk/net/rxrpc/ar-error.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 476690d1865c..877022ab1e6f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9e5e10a22507b8d372bcf0e88875d4a3f6ede297 +refs/heads/master: c9d10c497c3728a5c798c11486dccdc01b2092a8 diff --git a/trunk/net/rxrpc/ar-error.c b/trunk/net/rxrpc/ar-error.c index d4d1ae26d293..5d6b572a6704 100644 --- a/trunk/net/rxrpc/ar-error.c +++ b/trunk/net/rxrpc/ar-error.c @@ -139,7 +139,7 @@ void rxrpc_UDP_error_handler(struct work_struct *work) struct rxrpc_transport *trans = container_of(work, struct rxrpc_transport, error_handler); struct sk_buff *skb; - int local, err; + int err; _enter(""); @@ -157,7 +157,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work) switch (ee->ee_origin) { case SO_EE_ORIGIN_ICMP: - local = 0; switch (ee->ee_type) { case ICMP_DEST_UNREACH: switch (ee->ee_code) { @@ -207,7 +206,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work) case SO_EE_ORIGIN_LOCAL: _proto("Rx Received local error { error=%d }", ee->ee_errno); - local = 1; break; case SO_EE_ORIGIN_NONE: @@ -215,7 +213,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work) default: _proto("Rx Received error report { orig=%u }", ee->ee_origin); - local = 0; break; }