提交 4874043a 编写于 作者: S Sachin Kamat 提交者: Greg Kroah-Hartman

staging: rtl8821ae: debug.c: Remove version specific code

The code should be for the current kernel version. Remove
conditional version based code.
Signed-off-by: NSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0cd05ba5
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册