diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx_sdio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx_sdio.c b/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx_sdio.c index 979821ea54a1..58117877d0a5 100644 --- a/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx_sdio.c +++ b/drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_api_88xx_sdio.c @@ -165,7 +165,6 @@ halmac_cfg_rx_aggregation_88xx_sdio(struct halmac_adapter *halmac_adapter, u8 halmac_reg_read_8_sdio_88xx(struct halmac_adapter *halmac_adapter, u32 halmac_offset) { - u8 value8; void *driver_adapter = NULL; struct halmac_api *halmac_api; enum halmac_ret_status status = HALMAC_RET_SUCCESS; @@ -190,9 +189,7 @@ u8 halmac_reg_read_8_sdio_88xx(struct halmac_adapter *halmac_adapter, return status; } - value8 = PLATFORM_SDIO_CMD52_READ(driver_adapter, halmac_offset); - - return value8; + return PLATFORM_SDIO_CMD52_READ(driver_adapter, halmac_offset); } /** |