From 3df372e0595d1609ac58761f994b1252a21a86c7 Mon Sep 17 00:00:00 2001 From: Sergio Paracuellos Date: Mon, 23 Apr 2018 15:44:55 +0200 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/ks7010/ks_hostif.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'drivers/staging') 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 -#include #include #include +#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) { -- cgit v1.2.3