mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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 <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3c2f78f4fc
commit
3deba0bcd8
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user