Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/tc remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/ee3328d8a90d
branches:  trunk
changeset: 791092:ee3328d8a90d
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 04 16:56:17 2013 +0000

description:
remove unused variable

diffstat:

 sys/arch/alpha/tc/tc_dma_3000_500.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r ceab9fa1c6cf -r ee3328d8a90d sys/arch/alpha/tc/tc_dma_3000_500.c
--- a/sys/arch/alpha/tc/tc_dma_3000_500.c       Mon Nov 04 16:55:31 2013 +0000
+++ b/sys/arch/alpha/tc/tc_dma_3000_500.c       Mon Nov 04 16:56:17 2013 +0000
@@ -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 <sys/cdefs.h>                 /* 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 <sys/param.h>
 #include <sys/systm.h>
@@ -120,7 +120,6 @@
        int flags,
        bus_dmamap_t *dmamp)
 {
-       bus_dmamap_t map;
        int error;
 
        error = _bus_dmamap_create(t, size, nsegments, maxsegsz,
@@ -128,7 +127,7 @@
        if (error)
                return (error);
 
-       map = *dmamp;
+       (void)*dmamp;
 
        /* XXX BUS_DMA_ALLOCNOW */
 



Home | Main Index | Thread Index | Old Index