From: Bhaktipriya Shridhar Date: Thu, 10 Mar 2016 17:00:07 +0000 (+0530) Subject: staging: rtl8723au: core: Remove unnecessary else after return X-Git-Tag: v4.6-rc1~103^2~56 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3deba0bcd818769eab2c108808543b863a2c671f;p=karo-tx-linux.git staging: rtl8723au: core: Remove unnecessary else after return This patch fixes the checkpatch warning that else is not generally useful after a break or return. This was done using Coccinelle: @@ expression e2; statement s1; @@ if(e2) { ... return ...; } -else s1 Signed-off-by: Bhaktipriya Shridhar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_efuse.c b/drivers/staging/rtl8723au/core/rtw_efuse.c index f174b4d1a018..359ef4197e94 100644 --- a/drivers/staging/rtl8723au/core/rtw_efuse.c +++ b/drivers/staging/rtl8723au/core/rtw_efuse.c @@ -269,8 +269,8 @@ u8 EFUSE_Read1Byte23a(struct rtw_adapter *Adapter, u16 Address) } data = rtl8723au_read8(Adapter, EFUSE_CTRL); return data; - } else - return 0xFF; + } + return 0xFF; } /* Read one byte from real Efuse. */