Subject: [patch] net/core/pktgen.c shouldn't include pci.h

From: Adrian Bunk <[email-masked]>
Date: Sat, 13 Nov 2004 15:53:51 +0100

If rebuilding after touching pci.h in 2.6, net/core/pktgen.c is the only 
file under net/ that gets rebuilt.

I searched and didn't find any reason why net/core/pktgen.c needs to 
include pci.h .

I'm therefore suggesting the patch below (applies against both 2.4
and 2.6).

Signed-off-by: Adrian Bunk <[email-masked]>

--- linux-2.6.10-rc1-mm5-full/net/core/pktgen.c.old	2004-11-13 14:37:43.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/net/core/pktgen.c	2004-11-13 14:40:07.000000000 +0100
@@ -69,7 +69,6 @@
 #include <linux/ioport.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>
-#include <linux/pci.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/inet.h>