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
@ -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…
x
Reference in New Issue
Block a user