]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/isdn/hardware/avm/avm_cs.c
Pull style into test branch
[linux-2.6-omap-h63xx.git] / drivers / isdn / hardware / avm / avm_cs.c
index fd5d7364a48725374cf599b4fa94aecfde53d1c6..eba10466ccc61fd58eddd1b230629c7d84058781 100644 (file)
@@ -121,10 +121,9 @@ static int avmcs_probe(struct pcmcia_device *p_dev)
     p_dev->conf.Present = PRESENT_OPTION;
 
     /* Allocate space for private device-specific data */
-    local = kmalloc(sizeof(local_info_t), GFP_KERNEL);
+    local = kzalloc(sizeof(local_info_t), GFP_KERNEL);
     if (!local)
         goto err;
-    memset(local, 0, sizeof(local_info_t));
     p_dev->priv = local;
 
     return avmcs_config(p_dev);