1
0
mirror of https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git synced 2025-10-20 17:41:08 +02:00

the code is dirty, I am trying to do cleanup it. (#153)

* fix the frame size is larger than 1024 bytes

* fix unused-variable warnning

* fix unused-value warnning

* fix unused-label warnning

* fix unused-function warnning

* fix uninitialized: maybe bug

* disable CONFIG_DEBUG
This commit is contained in:
Chen Minqiang
2016-10-01 10:35:44 -05:00
committed by Harshavardhana
parent 3771dc2fea
commit 070e46b9cb
66 changed files with 675 additions and 630 deletions

View File

@@ -465,8 +465,8 @@ ODM_ReadAndConfig_MP_8812A_AGC_TAB(
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;
@@ -661,8 +661,8 @@ ODM_ReadAndConfig_MP_8812A_AGC_TAB_DIFF(
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;
@@ -966,8 +966,8 @@ ODM_ReadAndConfig_MP_8812A_PHY_REG(
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;
@@ -1047,8 +1047,8 @@ ODM_ReadAndConfig_MP_8812A_PHY_REG_MP(
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;
@@ -1159,8 +1159,8 @@ ODM_ReadAndConfig_MP_8812A_PHY_REG_PG(
{
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;
@@ -1259,8 +1259,8 @@ ODM_ReadAndConfig_MP_8812A_PHY_REG_PG_ASUS(
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;
@@ -1373,8 +1373,8 @@ ODM_ReadAndConfig_MP_8812A_PHY_REG_PG_NEC(
u4Byte hex = 0;
u4Byte i = 0;
u2Byte count = 0;
pu4Byte ptr_array = NULL;
//u2Byte count = 0;
//pu4Byte ptr_array = NULL;
u1Byte platform = pDM_Odm->SupportPlatform;
u1Byte _interface = pDM_Odm->SupportInterface;
u1Byte board = pDM_Odm->BoardType;