]> Pileus Git - ~andy/linux/blobdiff - net/sctp/endpointola.c
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[~andy/linux] / net / sctp / endpointola.c
index 7ec09ba03a1cec9e82d6251d9becccf8a8a42a1b..e10acc01c75f90600f6c1cbb59a2e4610977fc96 100644 (file)
@@ -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;