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@xxxxxxxxx> --- drivers/staging/ks7010/ks_hostif.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c index b182530..6288c49 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) { -- 2.7.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel