net: sctp: get rid of t_new macro for kzalloc
[deliverable/linux.git] / net / sctp / transport.c
index 098f1d5f769e264b73aa8b3800ccf3a4eeb75c92..5d3c71bbd197b1804273f26658273c86fa9f9b4a 100644 (file)
@@ -116,7 +116,7 @@ struct sctp_transport *sctp_transport_new(struct net *net,
 {
        struct sctp_transport *transport;
 
-       transport = t_new(struct sctp_transport, gfp);
+       transport = kzalloc(sizeof(*transport), gfp);
        if (!transport)
                goto fail;
 
This page took 0.024474 seconds and 5 git commands to generate.