staging: rtl8188eu: pwrGrpCnt variable removed in store_pwrindex_offset function

This variable used only once in the beginning of the function,
it can be removed.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ivan Safonov 2015-10-27 22:31:10 +07:00 committed by Greg Kroah-Hartman
parent 5bee5d583b
commit 853a46638e
1 changed files with 1 additions and 2 deletions

View File

@ -504,9 +504,8 @@ static void store_pwrindex_offset(struct adapter *adapter,
u32 regaddr, u32 bitmask, u32 data)
{
struct hal_data_8188e *hal_data = GET_HAL_DATA(adapter);
u8 pwrGrpCnt = hal_data->pwrGroupCnt;
u32 * const power_level_offset =
hal_data->MCSTxPowerLevelOriginalOffset[pwrGrpCnt];
hal_data->MCSTxPowerLevelOriginalOffset[hal_data->pwrGroupCnt];
if (regaddr == rTxAGC_A_Rate18_06)
power_level_offset[0] = data;