Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3deba0bc authored by Bhaktipriya Shridhar's avatar Bhaktipriya Shridhar Committed by Greg Kroah-Hartman
Browse files

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: default avatarBhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3c2f78f4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@ u8 EFUSE_Read1Byte23a(struct rtw_adapter *Adapter, u16 Address)
		}
		data = rtl8723au_read8(Adapter, EFUSE_CTRL);
		return data;
	} else
	}
	return 0xFF;
}