Module Name: src
Committed By: christos
Date: Mon Nov 4 16:56:17 UTC 2013
Modified Files:
src/sys/arch/alpha/tc: tc_dma_3000_500.c
Log Message:
remove unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/alpha/tc/tc_dma_3000_500.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/alpha/tc/tc_dma_3000_500.c
diff -u src/sys/arch/alpha/tc/tc_dma_3000_500.c:1.18 src/sys/arch/alpha/tc/tc_dma_3000_500.c:1.19
--- src/sys/arch/alpha/tc/tc_dma_3000_500.c:1.18 Sun Feb 5 21:14:16 2012
+++ src/sys/arch/alpha/tc/tc_dma_3000_500.c Mon Nov 4 11:56:17 2013
@@ -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 @@ 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 */