From: Ajay Singh Date: Wed, 2 May 2018 07:13:30 +0000 (+0530) Subject: staging: wilc1000: remove unnecessary bracket used in switch in wilc_mgmt_frame_regis... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=855978bbbeeda4ccacf4834e4bfea3e2a0b25ea4;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 25364d3547df..af9bbadab9e5 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -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;