From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bunk Subject: [patch] net/core/pktgen.c shouldn't include pci.h Date: Sat, 13 Nov 2004 15:53:51 +0100 Message-ID: <20041113145351.GZ2249@stusta.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: davem@davemloft.net, netdev@oss.sgi.com, linux-kernel@vger.kernel.org Return-path: To: Robert Olsson Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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 --- 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 #include #include -#include #include #include #include