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:
Ajay Singh 2018-05-02 12:43:30 +05:30 committed by Greg Kroah-Hartman
parent ccb4d02f8e
commit 855978bbbe

View file

@ -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;