mirror of
https://github.com/torvalds/linux.git
synced 2024-12-01 00:21:32 +00: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:
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. */
|
||||
|
Loading…
Reference in New Issue
Block a user