diff options
author | David Hill <dhill@cvs.openbsd.org> | 2011-07-04 04:44:51 +0000 |
---|---|---|
committer | David Hill <dhill@cvs.openbsd.org> | 2011-07-04 04:44:51 +0000 |
commit | c42e7a6fd4c1a1c3837545870d80715f3932b8bd (patch) | |
tree | 59605e3690dbc6c4e43da6136ed8f1b9883736b0 | |
parent | 285246c1086ef421e4eef5d5c7c5016b85d3053e (diff) |
remove unneeded cast.
no binary change.
ok jmatthew@
-rw-r--r-- | sys/dev/ic/sili.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/sili.c b/sys/dev/ic/sili.c index 5da88de6a1f..33d279d3fdb 100644 --- a/sys/dev/ic/sili.c +++ b/sys/dev/ic/sili.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sili.c,v 1.48 2011/05/08 19:46:10 matthew Exp $ */ +/* $OpenBSD: sili.c,v 1.49 2011/07/04 04:44:50 dhill Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -72,7 +72,7 @@ struct sili_dmamem { }; #define SILI_DMA_MAP(_sdm) ((_sdm)->sdm_map) #define SILI_DMA_DVA(_sdm) ((_sdm)->sdm_map->dm_segs[0].ds_addr) -#define SILI_DMA_KVA(_sdm) ((void *)(_sdm)->sdm_kva) +#define SILI_DMA_KVA(_sdm) ((_sdm)->sdm_kva) struct sili_dmamem *sili_dmamem_alloc(struct sili_softc *, bus_size_t, bus_size_t); |