summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2018-04-23 15:44:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-04-25 15:47:24 +0200
commit3df372e0595d1609ac58761f994b1252a21a86c7 (patch)
treeca49bdc7d4c917cf06ab0244f05d06eca3d55a43 /drivers/staging
parentfe1694e13c1cd0b8e860770c63f520b83348e610 (diff)
downloadlinux-3df372e0595d1609ac58761f994b1252a21a86c7.tar.bz2
staging: ks7010: review includes of ks_hostif file
This commit reviews includes of ks_hostif.c source file. Those which are not being used at all have been removed. Driver header includes have been moved after the kernel header includes to make style consistent in different files of the driver. The need of ks_wlan.h header include is only because of some preprocessor conditional code of WPS definition. This definition is in ks_wlan.h so this one must be included before the ks_hostif.h header file. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/ks7010/ks_hostif.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index 2d8f304b85a6..d46a9553e835 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -9,15 +9,12 @@
* published by the Free Software Foundation.
*/
-#include "ks_wlan.h"
-#include "ks_hostif.h"
-#include "eap_packet.h"
-#include "michael_mic.h"
-
-#include <linux/etherdevice.h>
-#include <linux/if_ether.h>
#include <linux/if_arp.h>
#include <net/iw_handler.h>
+#include "eap_packet.h"
+#include "ks_wlan.h"
+#include "michael_mic.h"
+#include "ks_hostif.h"
static inline void inc_smeqhead(struct ks_wlan_private *priv)
{