staging: rtl8723au: Remove write-only struct dm_priv->DM_Type variable
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 21 Jul 2014 09:24:48 +0000 (11:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Jul 2014 19:09:26 +0000 (12:09 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_dm.c
drivers/staging/rtl8723au/include/rtl8723a_dm.h

index 3fb54fc10acf7577ea73fbc493e53faec6671ef9..b7ed764423b8cbb4afe999ec1686a97c589da87d 100644 (file)
@@ -185,7 +185,6 @@ void rtl8723a_InitHalDm(struct rtw_adapter *Adapter)
        struct dm_odm_t *pDM_Odm = &pHalData->odmpriv;
        u8      i;
 
-       pdmpriv->DM_Type = DM_Type_ByDriver;
        pdmpriv->DMFlag = DYNAMIC_FUNC_DISABLE;
 
 #ifdef CONFIG_8723AU_BT_COEXIST
index 57be3472854492c4eca89f9cc91b03a2004f97b9..5ee3af4ca2db7f6f22e9e78b8b15426c4fa9c726 100644 (file)
@@ -39,7 +39,6 @@ enum{
 /*  duplicate code,will move to ODM ######### */
 struct dm_priv
 {
-       u8      DM_Type;
        u8      DMFlag;
        u8      InitDMFlag;
        u32     InitODMFlag;