diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index 1117705b8a347994fe523660e3108d261a97f111..65caa6d0362c49f14b2fcf284e4c2641eb6c83c9 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; }