Message ID | d6e6c098-ccee-4cf0-9dbf-714989945196@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | EDAC/amd64: Adjustments for two function implementations | expand |
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 7536236df542..698cde573847 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -4264,7 +4264,7 @@ static bool instance_has_memory(struct amd64_pvt *pvt) static int probe_one_instance(unsigned int nid) { struct pci_dev *F3 = node_to_amd_nb(nid)->misc; - struct amd64_pvt *pvt = NULL; + struct amd64_pvt *pvt; struct ecc_settings *s; int ret;