dpif: Update dpif interface to match netdev.
[openvswitch] / ofproto / pinsched.c
index 0afd22ff645958861172c51be308349deb6f6f07..a4f5bfad5d047380811c2946119358476071dbdb 100644 (file)
@@ -227,7 +227,7 @@ pinsched_create(int rate_limit, int burst_limit, struct switch_status *ss)
 {
     struct pinsched *ps;
 
-    ps = xcalloc(1, sizeof *ps);
+    ps = xzalloc(sizeof *ps);
     port_array_init(&ps->queues);
     ps->n_queued = 0;
     ps->last_tx_port = PORT_ARRAY_SIZE;