mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 17:43:59 +00:00
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: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0cd05ba54a
commit
4874043a6c
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user