git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
amd64_edac: fix a wrong goto clause in amd64_edac.c
[safe/jmp/linux-2.6]
/
drivers
/
edac
/
amd64_edac.c
diff --git
a/drivers/edac/amd64_edac.c
b/drivers/edac/amd64_edac.c
index
d4560d9
..
3ee539a
100644
(file)
--- a/
drivers/edac/amd64_edac.c
+++ b/
drivers/edac/amd64_edac.c
@@
-3163,7
+3163,7
@@
static int __init amd64_edac_init(void)
opstate_init();
if (cache_k8_northbridges() < 0)
-
goto err_exit
;
+
return err
;
err = pci_register_driver(&amd64_pci_driver);
if (err)
@@
-3189,8
+3189,6
@@
static int __init amd64_edac_init(void)
err_2nd_stage:
debugf0("2nd stage failed\n");
-
-err_exit:
pci_unregister_driver(&amd64_pci_driver);
return err;