staging: rtl8188eu: Remove unused macros defined in odm_interface.h
authornavin patidar <navin.patidar@gmail.com>
Mon, 26 May 2014 16:05:36 +0000 (21:35 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 May 2014 17:38:08 +0000 (10:38 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/odm_interface.h

index ba58a67a8ecc0749f53e5416c9ada952a245c99d..2c2991e8a0894a90281d13baa6d2fe0674522155 100644 (file)
 #ifndef        __ODM_INTERFACE_H__
 #define __ODM_INTERFACE_H__
 
-/*  =========== Macro Define */
-
-/*  _cat: implemented by Token-Pasting Operator. */
-
-/*===================================
-
-#define ODM_REG_DIG_11N                0xC50
-#define ODM_REG_DIG_11AC       0xDDD
-
-ODM_REG(DIG,_pDM_Odm)
-=====================================*/
-
-#define _reg_11N(_name)                        ODM_REG_##_name##_11N
-#define _reg_11AC(_name)               ODM_REG_##_name##_11AC
-#define _bit_11N(_name)                        ODM_BIT_##_name##_11N
-#define _bit_11AC(_name)               ODM_BIT_##_name##_11AC
-
-#define _cat(_name, _ic_type, _func)                                   \
-       (                                                               \
-               (_ic_type) ? _func##_11N(_name) :                       \
-               _func##_11AC(_name)                                     \
-       )
-
-/*  _name: name of register or bit. */
-/*  Example: "ODM_REG(R_A_AGC_CORE1, pDM_Odm)" */
-/*         gets "ODM_R_A_AGC_CORE1" or "ODM_R_A_AGC_CORE1_8192C",
- *        depends on SupportICType. */
-#define ODM_REG(_name, _pDM_Odm) _cat(_name, _pDM_Odm->SupportICType, _reg)
-#define ODM_BIT(_name, _pDM_Odm) _cat(_name, _pDM_Odm->SupportICType, _bit)
-
 enum odm_h2c_cmd {
        ODM_H2C_RSSI_REPORT = 0,
        ODM_H2C_PSD_RESULT = 1,