From: navin patidar <navin.patidar@gmail.com>
To: gregkh@linuxfoundation.org, Larry.Finger@lwfinger.net
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
navin patidar <navin.patidar@gmail.com>
Subject: [PATCH 21/24] staging: rtl8188eu: Remove unused macros defined in odm_interface.h
Date: Mon, 26 May 2014 21:35:36 +0530 [thread overview]
Message-ID: <1401120339-23667-21-git-send-email-navin.patidar@gmail.com> (raw)
In-Reply-To: <1401120339-23667-1-git-send-email-navin.patidar@gmail.com>
Signed-off-by: navin patidar <navin.patidar@gmail.com>
---
drivers/staging/rtl8188eu/include/odm_interface.h | 30 ---------------------
1 file changed, 30 deletions(-)
diff --git a/drivers/staging/rtl8188eu/include/odm_interface.h b/drivers/staging/rtl8188eu/include/odm_interface.h
index ba58a67..2c2991e 100644
--- a/drivers/staging/rtl8188eu/include/odm_interface.h
+++ b/drivers/staging/rtl8188eu/include/odm_interface.h
@@ -21,36 +21,6 @@
#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,
--
1.7.10.4
next prev parent reply other threads:[~2014-05-26 16:08 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-26 16:05 [PATCH 01/24] staging: rtl8188eu: Remove unused function rtw_interface_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 02/24] staging: rtl8188eu: Remove unused function rtw_hal_intf_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 03/24] staging: rtl8188eu: Remove unused function pointer ->interface_ps_func navin patidar
2014-05-26 16:05 ` [PATCH 04/24] staging: rtl8188eu: Remove unused function rtl8188eu_ps_func() navin patidar
2014-05-26 16:05 ` [PATCH 05/24] staging: rtl8188eu: Remove unused function ODM_MacStatusQuery() navin patidar
2014-05-26 16:05 ` [PATCH 06/24] staging: rtl8188eu: Remove unused function odm_Init_RSSIForDM() navin patidar
2014-05-26 16:05 ` [PATCH 07/24] staging: rtl8188eu: Remove function with empty defination dm_CheckStatistics() navin patidar
2014-05-26 16:05 ` [PATCH 08/24] staging: rtl8188eu: Remove function rtw_hal_dm_deinit() navin patidar
2014-05-26 16:05 ` [PATCH 09/24] staging: rtl8188eu: Remove unused function pointer ->dm_init navin patidar
2014-05-26 16:05 ` [PATCH 10/24] staging: rtl8188eu: Remove unused function rtl8188e_deinit_dm_priv() navin patidar
2014-05-26 16:05 ` [PATCH 11/24] staging: rtl8188eu: remove unused header inclusion from rtw_mp.c navin patidar
2014-05-26 16:05 ` [PATCH 12/24] staging: rtl8188eu: Remove unused macros and enum defined in odm_types.h navin patidar
2014-05-26 16:05 ` [PATCH 13/24] staging: rtl8188eu: Remove unused structure "rtl8192cd_priv" navin patidar
2014-05-26 16:05 ` [PATCH 14/24] staging: rtl8188eu: Remove unused macros in odm_interface.h navin patidar
2014-05-26 16:05 ` [PATCH 15/24] staging: rtl8188eu: Remove unused function pointer declaration navin patidar
2014-05-26 16:05 ` [PATCH 16/24] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-26 16:05 ` [PATCH 17/24] staging: rtl8188eu: Use "ODM_REG_CCK_CCA_11N" in ODM_Write_CCK_CCA_Thres() navin patidar
2014-05-26 16:05 ` [PATCH 18/24] staging: rtl8188eu: Use ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N in odm_DIGInit() navin patidar
2014-05-26 16:05 ` [PATCH 19/24] staging: rtl8188eu: Remove unnecessary debugging message from ODM_Write_DIG() navin patidar
2014-05-26 16:05 ` [PATCH 20/24] staging: rtl8188eu: Use ODM_REG_IGI_A_11N and ODM_BIT_IGI_11N in ODM_Write_DIG() navin patidar
2014-05-26 16:05 ` navin patidar [this message]
2014-05-26 16:05 ` [PATCH 22/24] staging: rtl8188eu: Remove unused function declaration navin patidar
2014-05-26 16:05 ` [PATCH 23/24] staging: rtl8188eu: Remove unused enum odm_h2c_cmd navin patidar
2014-05-26 16:05 ` [PATCH 24/24] staging: rtl8188eu: Remove empty file odm_interface.h navin patidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1401120339-23667-21-git-send-email-navin.patidar@gmail.com \
--to=navin.patidar@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®