This patch removes unnecessary block braces and fix indentation.

Signed-off-by: Chaehyun Lim <chaehyun....@gmail.com>
---
 drivers/staging/wilc1000/linux_wlan.c | 32 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)

diff --git a/drivers/staging/wilc1000/linux_wlan.c 
b/drivers/staging/wilc1000/linux_wlan.c
index bd83da1..a6642d4 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -1967,28 +1967,26 @@ static void __exit exit_wilc_driver(void)
                }
        }
 
-       {
-       #ifndef WILC_SDIO
-               PRINT_D(INIT_DBG, "SPI unregsiter...\n");
-               spi_unregister_driver(&wilc_bus);
-       #else
-               PRINT_D(INIT_DBG, "SDIO unregsiter...\n");
-               sdio_unregister_driver(&wilc_bus);
-       #endif
+#ifndef WILC_SDIO
+       PRINT_D(INIT_DBG, "SPI unregsiter...\n");
+       spi_unregister_driver(&wilc_bus);
+#else
+       PRINT_D(INIT_DBG, "SDIO unregsiter...\n");
+       sdio_unregister_driver(&wilc_bus);
+#endif
 
-               if (g_linux_wlan != NULL) {
-                       kfree(g_linux_wlan);
-                       g_linux_wlan = NULL;
-               }
-               printk("Module_exit Done.\n");
+       if (g_linux_wlan != NULL) {
+               kfree(g_linux_wlan);
+               g_linux_wlan = NULL;
+       }
+       printk("Module_exit Done.\n");
 
 #if defined(WILC_DEBUGFS)
-               wilc_debugfs_remove();
+       wilc_debugfs_remove();
 #endif
 
-               linux_wlan_device_detection(0);
-               linux_wlan_device_power(0);
-       }
+       linux_wlan_device_detection(0);
+       linux_wlan_device_power(0);
 }
 module_exit(exit_wilc_driver);
 
-- 
2.6.0

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to