Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1652458 > unrolled thread

[PATCH v8 net-next 01/17] net: qualcomm: qca_7k: clean up header includes

Started byStefan Wahren <stefan.wahren@i2se.com>
First post2017-05-29 14:00 +0200
Last post2017-05-29 14:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v8 net-next 01/17] net: qualcomm: qca_7k: clean up header includes Stefan Wahren <stefan.wahren@i2se.com> - 2017-05-29 14:00 +0200

#1652458 — [PATCH v8 net-next 01/17] net: qualcomm: qca_7k: clean up header includes

FromStefan Wahren <stefan.wahren@i2se.com>
Date2017-05-29 14:00 +0200
Subject[PATCH v8 net-next 01/17] net: qualcomm: qca_7k: clean up header includes
Message-ID<tMrv4-7MV-21@gated-at.bofh.it>
Currently the includes doesn't reflect the dependencies. So
fix this up by removing all unnecessary entries and add the
necessary ones explicit.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
---
 drivers/net/ethernet/qualcomm/qca_7k.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/drivers/net/ethernet/qualcomm/qca_7k.c b/drivers/net/ethernet/qualcomm/qca_7k.c
index f0066fb..e9162e1 100644
--- a/drivers/net/ethernet/qualcomm/qca_7k.c
+++ b/drivers/net/ethernet/qualcomm/qca_7k.c
@@ -23,11 +23,9 @@
  *   kernel-based SPI device.
  */
 
-#include <linux/init.h>
-#include <linux/module.h>
-#include <linux/moduleparam.h>
+#include <linux/kernel.h>
+#include <linux/netdevice.h>
 #include <linux/spi/spi.h>
-#include <linux/version.h>
 
 #include "qca_7k.h"
 
-- 
2.1.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web