drm: fix issues with systems with no MTRR
[pandora-kernel.git] / drivers / bluetooth / bluecard_cs.c
index 26fe9c0..f36c563 100644 (file)
@@ -870,10 +870,9 @@ static dev_link_t *bluecard_attach(void)
        int ret;
 
        /* Create new info device */
-       info = kmalloc(sizeof(*info), GFP_KERNEL);
+       info = kzalloc(sizeof(*info), GFP_KERNEL);
        if (!info)
                return NULL;
-       memset(info, 0, sizeof(*info));
 
        link = &info->link;
        link->priv = info;