Message ID | f33395d9-c463-46e1-8a67-b9a07aa8f202@web.de |
---|---|
State | New |
Headers | show |
Series | ath6kl: Adjustments for ath6kl_sdio_power_on() | expand |
diff --git a/drivers/net/wireless/ath/ath6kl/sdio.c b/drivers/net/wireless/ath/ath6kl/sdio.c index 5106c6909dc8..e4d15cc9b36c 100644 --- a/drivers/net/wireless/ath/ath6kl/sdio.c +++ b/drivers/net/wireless/ath/ath6kl/sdio.c @@ -529,13 +529,11 @@ static int ath6kl_sdio_power_on(struct ath6kl *ar) ret = ath6kl_sdio_config(ar); if (ret) { ath6kl_err("Failed to config sdio: %d\n", ret); - goto out; + return ret; } ar_sdio->is_disabled = false; - -out: - return ret; + return 0; } static int ath6kl_sdio_power_off(struct ath6kl *ar)