diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-04-18 10:35:38 +1000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-18 13:47:31 +0200 |
commit | 0dd30a74b9dd69858721da0c695ccc293fffe973 (patch) | |
tree | ddb943103de41356e87d651722b3a44baee3ff4e /drivers/staging/ks7010 | |
parent | e61e73d71b48911009fb5bbd5f85ff579c4a9a79 (diff) | |
download | linux-0dd30a74b9dd69858721da0c695ccc293fffe973.tar.gz linux-0dd30a74b9dd69858721da0c695ccc293fffe973.tar.bz2 linux-0dd30a74b9dd69858721da0c695ccc293fffe973.zip |
staging: ks7010: remove err_ from non-error path label
goto label includes 'err_' suffix but is executed on non-error paths.
Remove err_ suffix from goto label.
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ks7010')
-rw-r--r-- | drivers/staging/ks7010/ks7010_sdio.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 87d5519b6ccb..13d5de930615 100644 --- a/drivers/staging/ks7010/ks7010_sdio.c +++ b/drivers/staging/ks7010/ks7010_sdio.c @@ -474,18 +474,18 @@ static void ks7010_rw_function(struct work_struct *work) ks_wlan_hw_wakeup_request(priv); queue_delayed_work(priv->wq, &priv->rw_dwork, 1); } - goto err_release_host; + goto release_host; } /* sleep mode doze */ if (atomic_read(&priv->sleepstatus.doze_request) == 1) { ks_wlan_hw_sleep_doze_request(priv); - goto err_release_host; + goto release_host; } /* sleep mode wakeup */ if (atomic_read(&priv->sleepstatus.wakeup_request) == 1) { ks_wlan_hw_sleep_wakeup_request(priv); - goto err_release_host; + goto release_host; } /* read (WriteStatus/ReadDataSize FN1:00_0014) */ @@ -493,7 +493,7 @@ static void ks7010_rw_function(struct work_struct *work) if (ret) { DPRINTK(1, " error : WSTATUS_RSIZE=%02X psstatus=%d\n", rw_data, atomic_read(&priv->psstatus.status)); - goto err_release_host; + goto release_host; } DPRINTK(4, "WSTATUS_RSIZE=%02X\n", rw_data); @@ -505,7 +505,7 @@ static void ks7010_rw_function(struct work_struct *work) _ks_wlan_hw_power_save(priv); -err_release_host: +release_host: sdio_release_host(priv->ks_sdio_card->func); } |