diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-05-28 14:06:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-28 23:36:04 +0200 |
commit | 2e69759c149ccdb8785db56f3bf59f588b434619 (patch) | |
tree | 491eab04991febc3ab05b57d2b71c3e88990cf4e | |
parent | staging: rtl8723au: Remove redundant casting in rtw_xmit.c (diff) | |
download | linux-2e69759c149ccdb8785db56f3bf59f588b434619.tar.xz linux-2e69759c149ccdb8785db56f3bf59f588b434619.zip |
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>
-rw-r--r-- | drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c index 487629c198ff..0acacab95a48 100644 --- a/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c +++ b/drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c @@ -489,7 +489,7 @@ hal_ReadEFuse_WiFi(struct rtw_adapter *padapter, return; } - efuseTbl = (u8 *) kmalloc(EFUSE_MAP_LEN_8723A, GFP_KERNEL); + efuseTbl = kmalloc(EFUSE_MAP_LEN_8723A, GFP_KERNEL); if (efuseTbl == NULL) { DBG_8723A("%s: alloc efuseTbl fail!\n", __func__); return; |