Cleanup patch to remove the curly braces used in 'case' statement to follow as
per linux standard.

Signed-off-by: Ajay Singh <ajay.kat...@microchip.com>
---
 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c 
b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index d82a7b0..470a103 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;
-- 
2.7.4


Reply via email to