OSDN Git Service

staging: rtl8821ae: debug.c: Remove version specific code
authorSachin Kamat <sachin.kamat@linaro.org>
Tue, 27 May 2014 10:32:37 +0000 (16:02 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 18:58:26 +0000 (11:58 -0700)
The code should be for the current kernel version. Remove
conditional version based code.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8821ae/debug.c

index 8a6c794..8aefbf1 100644 (file)
 #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)
 {