From b88aa51b0738562b37eb831c272ad8bd725124c8 Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Tue, 26 Sep 2006 22:09:03 +0000 Subject: [PATCH] warnings cleanup (still gives lots of compilation warnings from unused functions and missing legacy support) --- src/drivers/net/skel.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/drivers/net/skel.c b/src/drivers/net/skel.c index 882a38e5..d784f7c2 100644 --- a/src/drivers/net/skel.c +++ b/src/drivers/net/skel.c @@ -10,12 +10,10 @@ Skeleton NIC driver for Etherboot * your option) any later version. */ -/* to get some global routines like printf */ #include "etherboot.h" -/* to get the interface to the body of the program */ #include "nic.h" -/* Drag in support for whichever bus(es) we want for this NIC */ #include +#include #include "isa.h" #include "eisa.h" #include "isapnp.h" @@ -211,8 +209,7 @@ static int skel_pci_probe ( struct nic *nic, struct pci_device *pci ) { return 1; } -static void skel_pci_disable ( struct nic *nic __unused, - struct pci_device *pci __unused ) { +static void skel_pci_disable ( struct nic *nic __unused ) { /* Reset the card to its initial state, disable DMA and * interrupts */