[PATCH 16/16] Staging: rtl8821ae: Remove version specific code from stats.c
Sachin Kamat
sachin.kamat at linaro.org
Mon Feb 17 11:52:11 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/stats.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/drivers/staging/rtl8821ae/stats.c b/drivers/staging/rtl8821ae/stats.c
index a20c0f8f65ec..39928a714f08 100644
--- a/drivers/staging/rtl8821ae/stats.c
+++ b/drivers/staging/rtl8821ae/stats.c
@@ -26,11 +26,9 @@
* Larry Finger <Larry.Finger at lwfinger.net>
*
*****************************************************************************/
+#include <linux/export.h>
#include "wifi.h"
#include "stats.h"
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
-#include <linux/export.h>
-#endif
u8 rtl_query_rxpwrpercentage(char antpower)
{
--
1.7.9.5
More information about the devel
mailing list