dmar: initialize the return value in dmar_parse_dev()
[deliverable/linux.git] / drivers / pci / dmar.c
index f2c5eb6e78f7c5dd58526f9ef3ef3c74fd5737ae..d281a03695f75a39f27e2f90cd68527262ceba9a 100644 (file)
@@ -193,7 +193,7 @@ dmar_parse_dev(struct dmar_drhd_unit *dmaru)
 {
        struct acpi_dmar_hardware_unit *drhd;
        static int include_all;
-       int ret;
+       int ret = 0;
 
        drhd = (struct acpi_dmar_hardware_unit *) dmaru->hdr;
 
This page took 0.024172 seconds and 5 git commands to generate.