summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-04-16 21:57:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-04-16 21:57:24 +0000
commit8cfe6a4577283fbd292e70a1dfb76eff3191c45e (patch)
tree02a51378a8a42454c38fd64eac78db94f9c92ba3 /sys/arch/sparc64
parent72f98a4d2b3f7334a19ec9b642d25c0d9777e2b5 (diff)
do not provide round_buffer if not needed unless explained why in comments
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/ce4231.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/arch/sparc64/dev/ce4231.c b/sys/arch/sparc64/dev/ce4231.c
index 8e7fc4e32ad..30511b488ea 100644
--- a/sys/arch/sparc64/dev/ce4231.c
+++ b/sys/arch/sparc64/dev/ce4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ce4231.c,v 1.18 2005/04/15 13:05:14 mickey Exp $ */
+/* $OpenBSD: ce4231.c,v 1.19 2005/04/16 21:57:23 mickey Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -155,7 +155,6 @@ int ce4231_get_port(void *, mixer_ctrl_t *);
int ce4231_query_devinfo(void *addr, mixer_devinfo_t *);
void * ce4231_alloc(void *, int, size_t, int, int);
void ce4231_free(void *, void *, int);
-size_t ce4231_round_buffersize(void *, int, size_t);
int ce4231_get_props(void *);
int ce4231_trigger_output(void *, void *, void *, int,
void (*intr)(void *), void *arg, struct audio_params *);
@@ -184,7 +183,7 @@ struct audio_hw_if ce4231_sa_hw_if = {
ce4231_query_devinfo,
ce4231_alloc,
ce4231_free,
- ce4231_round_buffersize,
+ 0,
0,
ce4231_get_props,
ce4231_trigger_output,
@@ -1311,15 +1310,6 @@ ce4231_query_devinfo(addr, dip)
return (err);
}
-size_t
-ce4231_round_buffersize(addr, direction, size)
- void *addr;
- int direction;
- size_t size;
-{
- return (size);
-}
-
int
ce4231_get_props(addr)
void *addr;