- patches.arch/x86_mce_intel_decode_physical_address.patch:
[linux-flexiantxendom0-3.2.10.git] / drivers / staging / comedi / drivers / addi-data / amcc_s5933_58.h
index 49141b3..349e93c 100644 (file)
@@ -253,12 +253,10 @@ void v_pci_card_list_init(unsigned short pci_vendor, char display)
 
        pci_for_each_dev(pcidev) {
                if (pcidev->vendor == pci_vendor) {
-                       amcc = kmalloc(sizeof(*amcc), GFP_KERNEL);
+                       amcc = kzalloc(sizeof(*amcc), GFP_KERNEL);
                        if (amcc == NULL)
                                continue;
 
-                       memset(amcc, 0, sizeof(*amcc));
-
                        amcc->pcidev = pcidev;
                        if (last) {
                                last->next = amcc;