mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 13:22:57 +00:00
staging: wilc1000: remove unnecessary bracket used in switch in wilc_mgmt_frame_register()
Cleanup patch to remove the curly braces used in 'case' statement to follow as per linux standard. Signed-off-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ccb4d02f8e
commit
855978bbbe
1 changed files with 2 additions and 8 deletions
|
@ -1741,24 +1741,18 @@ void wilc_mgmt_frame_register(struct wiphy *wiphy, struct wireless_dev *wdev,
|
|||
|
||||
switch (frame_type) {
|
||||
case PROBE_REQ:
|
||||
{
|
||||
vif->frame_reg[0].type = frame_type;
|
||||
vif->frame_reg[0].reg = reg;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case ACTION:
|
||||
{
|
||||
vif->frame_reg[1].type = frame_type;
|
||||
vif->frame_reg[1].reg = reg;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
default:
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!wl->initialized)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue