diff options
Diffstat (limited to 'net/rxrpc/ar-error.c')
-rw-r--r-- | net/rxrpc/ar-error.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/net/rxrpc/ar-error.c b/net/rxrpc/ar-error.c index d4d1ae26d293..5d6b572a6704 100644 --- a/net/rxrpc/ar-error.c +++ b/net/rxrpc/ar-error.c | |||
@@ -139,7 +139,7 @@ void rxrpc_UDP_error_handler(struct work_struct *work) | |||
139 | struct rxrpc_transport *trans = | 139 | struct rxrpc_transport *trans = |
140 | container_of(work, struct rxrpc_transport, error_handler); | 140 | container_of(work, struct rxrpc_transport, error_handler); |
141 | struct sk_buff *skb; | 141 | struct sk_buff *skb; |
142 | int local, err; | 142 | int err; |
143 | 143 | ||
144 | _enter(""); | 144 | _enter(""); |
145 | 145 | ||
@@ -157,7 +157,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work) | |||
157 | 157 | ||
158 | switch (ee->ee_origin) { | 158 | switch (ee->ee_origin) { |
159 | case SO_EE_ORIGIN_ICMP: | 159 | case SO_EE_ORIGIN_ICMP: |
160 | local = 0; | ||
161 | switch (ee->ee_type) { | 160 | switch (ee->ee_type) { |
162 | case ICMP_DEST_UNREACH: | 161 | case ICMP_DEST_UNREACH: |
163 | switch (ee->ee_code) { | 162 | switch (ee->ee_code) { |
@@ -207,7 +206,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work) | |||
207 | case SO_EE_ORIGIN_LOCAL: | 206 | case SO_EE_ORIGIN_LOCAL: |
208 | _proto("Rx Received local error { error=%d }", | 207 | _proto("Rx Received local error { error=%d }", |
209 | ee->ee_errno); | 208 | ee->ee_errno); |
210 | local = 1; | ||
211 | break; | 209 | break; |
212 | 210 | ||
213 | case SO_EE_ORIGIN_NONE: | 211 | case SO_EE_ORIGIN_NONE: |
@@ -215,7 +213,6 @@ void rxrpc_UDP_error_handler(struct work_struct *work) | |||
215 | default: | 213 | default: |
216 | _proto("Rx Received error report { orig=%u }", | 214 | _proto("Rx Received error report { orig=%u }", |
217 | ee->ee_origin); | 215 | ee->ee_origin); |
218 | local = 0; | ||
219 | break; | 216 | break; |
220 | } | 217 | } |
221 | 218 | ||