Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mlx4_core: Remove unnecessary includes of <linux/init.h>

Lots of mlx4 files with no function annotations included <linux/init.h>
for no reason.

Signed-off-by: Roland Dreier <rolandd@cisco.com>

-13
-1
drivers/net/mlx4/cq.c
··· 34 34 * SOFTWARE. 35 35 */ 36 36 37 - #include <linux/init.h> 38 37 #include <linux/hardirq.h> 39 38 40 39 #include <linux/mlx4/cmd.h>
-1
drivers/net/mlx4/eq.c
··· 31 31 * SOFTWARE. 32 32 */ 33 33 34 - #include <linux/init.h> 35 34 #include <linux/interrupt.h> 36 35 #include <linux/mm.h> 37 36 #include <linux/dma-mapping.h>
-1
drivers/net/mlx4/icm.c
··· 31 31 * SOFTWARE. 32 32 */ 33 33 34 - #include <linux/init.h> 35 34 #include <linux/errno.h> 36 35 #include <linux/mm.h> 37 36 #include <linux/scatterlist.h>
-1
drivers/net/mlx4/mcg.c
··· 31 31 * SOFTWARE. 32 32 */ 33 33 34 - #include <linux/init.h> 35 34 #include <linux/string.h> 36 35 #include <linux/slab.h> 37 36
-1
drivers/net/mlx4/mr.c
··· 32 32 * SOFTWARE. 33 33 */ 34 34 35 - #include <linux/init.h> 36 35 #include <linux/errno.h> 37 36 38 37 #include <linux/mlx4/cmd.h>
-1
drivers/net/mlx4/pd.c
··· 31 31 * SOFTWARE. 32 32 */ 33 33 34 - #include <linux/init.h> 35 34 #include <linux/errno.h> 36 35 37 36 #include <asm/page.h>
-2
drivers/net/mlx4/profile.c
··· 32 32 * SOFTWARE. 33 33 */ 34 34 35 - #include <linux/init.h> 36 - 37 35 #include "mlx4.h" 38 36 #include "fw.h" 39 37
-2
drivers/net/mlx4/qp.c
··· 33 33 * SOFTWARE. 34 34 */ 35 35 36 - #include <linux/init.h> 37 - 38 36 #include <linux/mlx4/cmd.h> 39 37 #include <linux/mlx4/qp.h> 40 38
-1
drivers/net/mlx4/reset.c
··· 31 31 * SOFTWARE. 32 32 */ 33 33 34 - #include <linux/init.h> 35 34 #include <linux/errno.h> 36 35 #include <linux/pci.h> 37 36 #include <linux/delay.h>
-2
drivers/net/mlx4/srq.c
··· 31 31 * SOFTWARE. 32 32 */ 33 33 34 - #include <linux/init.h> 35 - 36 34 #include <linux/mlx4/cmd.h> 37 35 38 36 #include "mlx4.h"