projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57b68ec
)
sctp: remove unused var from sctp_process_asconf
author
Marcelo Ricardo Leitner
<
[email protected]
>
Fri, 13 Jan 2017 20:27:33 +0000
(18:27 -0200)
committer
David S. Miller
<
[email protected]
>
Mon, 16 Jan 2017 18:51:40 +0000
(13:51 -0500)
Assigned but not used.
Signed-off-by: Marcelo Ricardo Leitner <
[email protected]
>
Acked-by: Neil Horman <
[email protected]
>
Reviewed-by: Xin Long <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sctp/sm_make_chunk.c
patch
|
blob
|
history
diff --git
a/net/sctp/sm_make_chunk.c
b/net/sctp/sm_make_chunk.c
index a15d824a313d310ed03ba77055d22b1c7c9d0662..80a9088084ac0d1116bf983fad9a0cdfddeefe44 100644
(file)
--- a/
net/sctp/sm_make_chunk.c
+++ b/
net/sctp/sm_make_chunk.c
@@
-3210,7
+3210,6
@@
struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
union sctp_params param;
sctp_addiphdr_t *hdr;
union sctp_addr_param *addr_param;
- sctp_addip_param_t *asconf_param;
struct sctp_chunk *asconf_ack;
__be16 err_code;
int length = 0;
@@
-3230,7
+3229,6
@@
struct sctp_chunk *sctp_process_asconf(struct sctp_association *asoc,
* asconf parameter.
*/
length = ntohs(addr_param->p.length);
- asconf_param = (void *)addr_param + length;
chunk_len -= length;
/* create an ASCONF_ACK chunk.