Skip to content

Commit

Permalink
mlx4_core: Remove unnecessary includes of <linux/init.h>
Browse files Browse the repository at this point in the history
Lots of mlx4 files with no function annotations included <linux/init.h>
for no reason.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
  • Loading branch information
Roland Dreier committed Sep 6, 2009
1 parent a01df0f commit ff149b2
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 13 deletions.
1 change: 0 additions & 1 deletion drivers/net/mlx4/cq.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/hardirq.h>

#include <linux/mlx4/cmd.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/net/mlx4/eq.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/mm.h>
#include <linux/dma-mapping.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/net/mlx4/icm.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/errno.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/net/mlx4/mcg.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/string.h>
#include <linux/slab.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/net/mlx4/mr.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/errno.h>

#include <linux/mlx4/cmd.h>
Expand Down
1 change: 0 additions & 1 deletion drivers/net/mlx4/pd.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/errno.h>

#include <asm/page.h>
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/mlx4/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@
* SOFTWARE.
*/

#include <linux/init.h>

#include "mlx4.h"
#include "fw.h"

Expand Down
2 changes: 0 additions & 2 deletions drivers/net/mlx4/qp.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
* SOFTWARE.
*/

#include <linux/init.h>

#include <linux/mlx4/cmd.h>
#include <linux/mlx4/qp.h>

Expand Down
1 change: 0 additions & 1 deletion drivers/net/mlx4/reset.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
* SOFTWARE.
*/

#include <linux/init.h>
#include <linux/errno.h>
#include <linux/pci.h>
#include <linux/delay.h>
Expand Down
2 changes: 0 additions & 2 deletions drivers/net/mlx4/srq.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
* SOFTWARE.
*/

#include <linux/init.h>

#include <linux/mlx4/cmd.h>

#include "mlx4.h"
Expand Down

0 comments on commit ff149b2

Please sign in to comment.