From 718f8ca983bd1a80b8ed0091a08b279f5d4dfcfe Mon Sep 17 00:00:00 2001 From: kato Date: Thu, 28 Jan 1999 11:24:36 +0000 Subject: The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static and local variables, goto labels, and functions declared but not defined. --- sys/pc98/cbus/gdc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/pc98/cbus/gdc.c') diff --git a/sys/pc98/cbus/gdc.c b/sys/pc98/cbus/gdc.c index 076f9e7..1bbc8d4 100644 --- a/sys/pc98/cbus/gdc.c +++ b/sys/pc98/cbus/gdc.c @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: pc98gdc.c,v 1.3 1999/01/18 14:55:38 kato Exp $ */ #include "gdc.h" @@ -68,7 +68,6 @@ static int gdcprobe(struct isa_device *dev); static int gdc_attach(struct isa_device *dev); -static void gdc_drvinit(void *unused); struct isa_driver gdcdriver = { gdcprobe, @@ -857,8 +856,9 @@ gdc_mmap(video_adapter_t *adp, vm_offset_t offset) static int gdc_diag(video_adapter_t *adp, int level) { - video_info_t info; +#if FB_DEBUG > 1 int i; +#endif if (!init_done) return 1; -- cgit v1.1