diff --git a/sys/arch/alpha/tc/tc_dma_3000_500.c b/sys/arch/alpha/tc/tc_dma_3000_500.c index 1e0c68bb2bc1..d1999ee6a0ae 100644 --- a/sys/arch/alpha/tc/tc_dma_3000_500.c +++ b/sys/arch/alpha/tc/tc_dma_3000_500.c @@ -1,4 +1,4 @@ -/* $NetBSD: tc_dma_3000_500.c,v 1.18 2012/02/06 02:14:16 matt Exp $ */ +/* $NetBSD: tc_dma_3000_500.c,v 1.19 2013/11/04 16:56:17 christos Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -32,7 +32,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: tc_dma_3000_500.c,v 1.18 2012/02/06 02:14:16 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tc_dma_3000_500.c,v 1.19 2013/11/04 16:56:17 christos Exp $"); #include #include @@ -120,7 +120,6 @@ tc_bus_dmamap_create_sgmap( int flags, bus_dmamap_t *dmamp) { - bus_dmamap_t map; int error; error = _bus_dmamap_create(t, size, nsegments, maxsegsz, @@ -128,7 +127,7 @@ tc_bus_dmamap_create_sgmap( if (error) return (error); - map = *dmamp; + (void)*dmamp; /* XXX BUS_DMA_ALLOCNOW */