staging: wilc1000: fix indentation level
authorChaehyun Lim <chaehyun.lim@gmail.com>
Fri, 2 Oct 2015 07:41:13 +0000 (16:41 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Oct 2015 10:04:52 +0000 (12:04 +0200)
This patch removes unnecessary block braces and fix indentation.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c

index 50631c5..f6a6287 100644 (file)
@@ -1879,28 +1879,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);