Skip to contentSkip to conversation

staging/rtl8712: Remove version.h includes

PATCH In review joseph daniel 2 participants 2 messages Apr 29, 2012 – Apr 30, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging/rtl8712: Remove version.h includes

there are version.h includes that are not needed , reported by make versioncheck files:
1. drivers/staging/rtl8712/osdep_service.h
2. drivers/staging/rtl8712/rtl871x_ioctl_linux.c

---
 drivers/staging/rtl8712/osdep_service.h       |    1 -
 drivers/staging/rtl8712/rtl871x_ioctl_linux.c |    1 -
 2 files changed, 2 deletions(-)
drivers/staging/rtl8712/osdep_service.h +0 -1
index 9ba6033..cabf774 100644
@@ -29,7 +29,6 @@
 #define _SUCCESS	1
 #define _FAIL		0
 
-#include <linux/version.h>
 #include <linux/spinlock.h>
 
 #include <linux/interrupt.h>
drivers/staging/rtl8712/rtl871x_ioctl_linux.c +0 -1
index ef35bc2..a44d539 100644
@@ -43,7 +43,6 @@
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/init.h>
-#include <linux/version.h>
 #include <linux/io.h>
 #include <linux/semaphore.h>
 #include <net/iw_handler.h>
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 6 lines · joseph daniel

there are version.h includes that are not needed , reported by make versioncheck files:
1. drivers/staging/rtl8712/osdep_service.h
2. drivers/staging/rtl8712/rtl871x_ioctl_linux.c

This is already fixed up in linux-next, so I can't apply the patch again, sorry :(