[PATCH 05/16] staging: rtl8821ae: debug.c: Remove version specific code

Sachin Kamat sachin.kamat at linaro.org
Tue May 27 10:32:37 UTC 2014


The code should be for the current kernel version. Remove
conditional version based code.

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
 drivers/staging/rtl8821ae/debug.c |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/staging/rtl8821ae/debug.c b/drivers/staging/rtl8821ae/debug.c
index 8a6c794..8aefbf1 100644
--- a/drivers/staging/rtl8821ae/debug.c
+++ b/drivers/staging/rtl8821ae/debug.c
@@ -30,12 +30,7 @@
 #include "wifi.h"
 #include "cam.h"
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0))
 #define GET_INODE_DATA(__node)		PDE_DATA(__node)
-#else
-#define GET_INODE_DATA(__node)		PDE(__node)->data
-#endif
-
 
 void rtl_dbgp_flag_init(struct ieee80211_hw *hw)
 {
-- 
1.7.9.5



More information about the devel mailing list