net: bcmdhd: fix non proper indent for if clause
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Sat, 21 Jan 2017 03:28:57 +0000 (12:28 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Jan 2019 02:25:31 +0000 (11:25 +0900)
non proper indent for if clause causes build error with gcc 6.
Fix the non proper indent to fix following build warning:
   drivers/net/wireless/bcmdhd/dhd_sdio.c: In function 'dhd_bus_devreset':
   drivers/net/wireless/bcmdhd/dhd_sdio.c:8919:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
       } else
         ^~~~
   drivers/net/wireless/bcmdhd/dhd_sdio.c:8922:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
        dhd_os_sdunlock(dhdp);
        ^~~~~~~~~~~~~~~

Change-Id: I032eee3c74768988c5fb3bc75651ce802ba8954d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/net/wireless/bcmdhd/dhd_sdio.c

index 207ebdf..412965f 100644 (file)
@@ -8919,7 +8919,7 @@ dhd_bus_devreset(dhd_pub_t *dhdp, uint8 flag)
                        } else
                                bcmerror = BCME_SDIO_ERROR;
 
-                               dhd_os_sdunlock(dhdp);
+                       dhd_os_sdunlock(dhdp);
                } else {
                        bcmerror = BCME_SDIO_ERROR;
                        DHD_INFO(("%s called when dongle is not in reset\n",