mlx4_core: Remove unnecessary includes of <linux/init.h>
authorRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:49 +0000 (20:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 6 Sep 2009 03:24:49 +0000 (20:24 -0700)
Lots of mlx4 files with no function annotations included <linux/init.h>
for no reason.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/cq.c
drivers/net/mlx4/eq.c
drivers/net/mlx4/icm.c
drivers/net/mlx4/mcg.c
drivers/net/mlx4/mr.c
drivers/net/mlx4/pd.c
drivers/net/mlx4/profile.c
drivers/net/mlx4/qp.c
drivers/net/mlx4/reset.c
drivers/net/mlx4/srq.c

index ac57b6a42c6ee8791fcca7f385a2c703b4e96799..ccfe276943f09f7e036899d90a09ea6220ab77cf 100644 (file)
@@ -34,7 +34,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/hardirq.h>
 
 #include <linux/mlx4/cmd.h>
index b9ceddde46c0adf5f7e9602235bef02cd534babf..c11a0525c40edbd05cb90e4b57ee4316dc0558d9 100644 (file)
@@ -31,7 +31,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/mm.h>
 #include <linux/dma-mapping.h>
index baf4bf66062ca6a91652eb6bd5e5224b3ffb9440..04b382fcb8c881c2ab76fea05636deb63c64effd 100644 (file)
@@ -31,7 +31,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/mm.h>
 #include <linux/scatterlist.h>
index 6053c357a470c27bdc1cf827d24388269f413774..5ccbce9866fe0b70918f362fba4b9a6e4bef8da3 100644 (file)
@@ -31,7 +31,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/string.h>
 #include <linux/slab.h>
 
index f96948be0a449248243e6f423708dc4b9e1c2b53..ca7ab8e7b4cc3917cc94599315f6d16f8e930150 100644 (file)
@@ -32,7 +32,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/errno.h>
 
 #include <linux/mlx4/cmd.h>
index 26d1a7a9e375e55db351c29919b3187215e6c784..c4988d6bd5b2f38bc92aaa6284bfe255ae3ff559 100644 (file)
@@ -31,7 +31,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/errno.h>
 
 #include <asm/page.h>
index bd22df95adf9a51fa76632404bbf9488df833b5b..ca25b9dc837853e979650a3c5fc8b01f6a71e961 100644 (file)
@@ -32,8 +32,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
-
 #include "mlx4.h"
 #include "fw.h"
 
index 1c565ef8d179148ead7408457778dff904f9d439..42ab9fc01d3e1f04e40623f194903fbecc11568e 100644 (file)
@@ -33,8 +33,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
-
 #include <linux/mlx4/cmd.h>
 #include <linux/mlx4/qp.h>
 
index 3951b884c0fba94abebab3e254de14cdf99c63d2..e5741dab3825fb6a3f17ac6b87ead4203ec8064b 100644 (file)
@@ -31,7 +31,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
 #include <linux/errno.h>
 #include <linux/pci.h>
 #include <linux/delay.h>
index fe9f218691f5f0d48306b3586efe87a4b47a9007..1377d0dc8f1f41d7de9f35d9a97bf49c0e0c433b 100644 (file)
@@ -31,8 +31,6 @@
  * SOFTWARE.
  */
 
-#include <linux/init.h>
-
 #include <linux/mlx4/cmd.h>
 
 #include "mlx4.h"