From: Ajay Singh Date: Mon, 23 Apr 2018 16:33:30 +0000 (+0530) Subject: staging: wilc1000: remove goto label '_done_' in handle_listen_state_expired() X-Git-Tag: v4.19~841^2~478 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2d26c8ccce45943f662308d78d6dc13409c048e;p=platform%2Fkernel%2Flinux-rpi3.git staging: wilc1000: remove goto label '_done_' in handle_listen_state_expired() Remove the use of goto label '_done_' in handle_listen_state_expired(). Changes are done to avoid the use of '_' in label name. Signed-off-by: Ajay Singh Reviewed-by: Claudiu Beznea Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 1117705..65caa6d 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -2332,7 +2332,7 @@ static u32 handle_listen_state_expired(struct wilc_vif *vif, kfree(wid.val); if (result != 0) { netdev_err(vif->ndev, "Failed to set remain channel\n"); - goto _done_; + return result; } if (hif_drv->remain_on_ch.expired) { @@ -2345,7 +2345,6 @@ static u32 handle_listen_state_expired(struct wilc_vif *vif, result = -EFAULT; } -_done_: return result; }