X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Fsctp%2Fendpointola.c;h=e10acc01c75f90600f6c1cbb59a2e4610977fc96;hb=b7ae5056c94a8191c1fd0b5697707377516c0c5d;hp=7ec09ba03a1cec9e82d6251d9becccf8a8a42a1b;hpb=dc1544ea5d6dfdf29440295788e639e4b44c605a;p=karo-tx-linux.git diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c index 7ec09ba03a1c..e10acc01c75f 100644 --- a/net/sctp/endpointola.c +++ b/net/sctp/endpointola.c @@ -70,8 +70,6 @@ static struct sctp_endpoint *sctp_endpoint_init(struct sctp_endpoint *ep, struct sctp_shared_key *null_key; int err; - memset(ep, 0, sizeof(struct sctp_endpoint)); - ep->digest = kzalloc(SCTP_SIGNATURE_SIZE, gfp); if (!ep->digest) return NULL;