mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
sctp: removed unused var from sctp_make_auth
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]>
This commit is contained in:
parent
28b2e0d2cd
commit
594831a8ab
1 changed files with 1 additions and 2 deletions
|
|
@ -1276,7 +1276,6 @@ struct sctp_chunk *sctp_make_auth(const struct sctp_association *asoc)
|
|||
struct sctp_authhdr auth_hdr;
|
||||
struct sctp_hmac *hmac_desc;
|
||||
struct sctp_chunk *retval;
|
||||
__u8 *hmac;
|
||||
|
||||
/* Get the first hmac that the peer told us to use */
|
||||
hmac_desc = sctp_auth_asoc_get_hmac(asoc);
|
||||
|
|
@ -1295,7 +1294,7 @@ struct sctp_chunk *sctp_make_auth(const struct sctp_association *asoc)
|
|||
retval->subh.auth_hdr = sctp_addto_chunk(retval, sizeof(auth_hdr),
|
||||
&auth_hdr);
|
||||
|
||||
hmac = skb_put_zero(retval->skb, hmac_desc->hmac_len);
|
||||
skb_put_zero(retval->skb, hmac_desc->hmac_len);
|
||||
|
||||
/* Adjust the chunk header to include the empty MAC */
|
||||
retval->chunk_hdr->length =
|
||||
|
|
|
|||
Loading…
Reference in a new issue