mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue