diff options
Diffstat (limited to 'drivers/bcma/main.c')
-rw-r--r-- | drivers/bcma/main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/bcma/main.c b/drivers/bcma/main.c index febbc0a1222a..ec31f7dd5549 100644 --- a/drivers/bcma/main.c +++ b/drivers/bcma/main.c | |||
@@ -169,10 +169,8 @@ int bcma_bus_register(struct bcma_bus *bus) | |||
169 | err = bcma_sprom_get(bus); | 169 | err = bcma_sprom_get(bus); |
170 | if (err == -ENOENT) { | 170 | if (err == -ENOENT) { |
171 | pr_err("No SPROM available\n"); | 171 | pr_err("No SPROM available\n"); |
172 | } else if (err) { | 172 | } else if (err) |
173 | pr_err("Failed to get SPROM: %d\n", err); | 173 | pr_err("Failed to get SPROM: %d\n", err); |
174 | return -ENOENT; | ||
175 | } | ||
176 | 174 | ||
177 | /* Register found cores */ | 175 | /* Register found cores */ |
178 | bcma_register_cores(bus); | 176 | bcma_register_cores(bus); |