staging: rtl8723au: Remove redundant casting in rtl8723a_hal_init.c
Casting value returned by k[cmz]alloc is useless. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4947f5e4e9
commit
2e69759c14
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ hal_ReadEFuse_WiFi(struct rtw_adapter *padapter,
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
efuseTbl = (u8 *) kmalloc(EFUSE_MAP_LEN_8723A, GFP_KERNEL);
|
efuseTbl = kmalloc(EFUSE_MAP_LEN_8723A, GFP_KERNEL);
|
||||||
if (efuseTbl == NULL) {
|
if (efuseTbl == NULL) {
|
||||||
DBG_8723A("%s: alloc efuseTbl fail!\n", __func__);
|
DBG_8723A("%s: alloc efuseTbl fail!\n", __func__);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Reference in a new issue