]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/core/seq/seq_device.c
ixgb: recalculate after how many descriptors to wake the queue
[linux-2.6-omap-h63xx.git] / sound / core / seq / seq_device.c
index 4260de90f36fb39468d7a623649f7f7486a4ab9c..102ff548ce6931df6ec5e946c5df04138cb63734 100644 (file)
@@ -372,10 +372,9 @@ static struct ops_list * create_driver(char *id)
 {
        struct ops_list *ops;
 
-       ops = kmalloc(sizeof(*ops), GFP_KERNEL);
+       ops = kzalloc(sizeof(*ops), GFP_KERNEL);
        if (ops == NULL)
                return ops;
-       memset(ops, 0, sizeof(*ops));
 
        /* set up driver entry */
        strlcpy(ops->id, id, sizeof(ops->id));