staging: vt6655: Fixed else after return or break warning
The following patch fixes the checkpatch.pl warning: drivers/staging/vt6655/hostap.c warning: else is not generally useful after a break or return Signed-off-by: Yeliz Taneroglu <yeliztaneroglu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3286ae5f62
commit
ac23fed858
@ -182,8 +182,7 @@ int vt6655_hostap_set_hostapd(struct vnt_private *pDevice,
|
||||
|
||||
if (val)
|
||||
return hostap_enable_hostapd(pDevice, rtnl_locked);
|
||||
else
|
||||
return hostap_disable_hostapd(pDevice, rtnl_locked);
|
||||
return hostap_disable_hostapd(pDevice, rtnl_locked);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user