summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-02-02 13:21:05 +0000
committeralfred <alfred@FreeBSD.org>2003-02-02 13:21:05 +0000
commit8f9cc7853a3a43f6438de39dfffdcc207ccba0ef (patch)
treef362449407d5826ad0df4fe23e5ffd247ac56e06 /sys
parentb5c0015ac9dfb47f49151ad199edb7f9f9665493 (diff)
downloadFreeBSD-src-8f9cc7853a3a43f6438de39dfffdcc207ccba0ef.zip
FreeBSD-src-8f9cc7853a3a43f6438de39dfffdcc207ccba0ef.tar.gz
remove MIN now that it's a standard kernel define
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/sound/pcm/buffer.c2
-rw-r--r--sys/dev/sound/pcm/channel.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/sound/pcm/buffer.c b/sys/dev/sound/pcm/buffer.c
index 9a49e28..dd74271 100644
--- a/sys/dev/sound/pcm/buffer.c
+++ b/sys/dev/sound/pcm/buffer.c
@@ -30,8 +30,6 @@
SND_DECLARE_FILE("$FreeBSD$");
-#define MIN(x, y) (((x) < (y))? (x) : (y))
-
#define SNDBUF_NAMELEN 48
struct snd_dbuf {
device_t dev;
diff --git a/sys/dev/sound/pcm/channel.c b/sys/dev/sound/pcm/channel.c
index 9bf9158..68fc573 100644
--- a/sys/dev/sound/pcm/channel.c
+++ b/sys/dev/sound/pcm/channel.c
@@ -35,7 +35,6 @@ SND_DECLARE_FILE("$FreeBSD$");
#define DMA_ALIGN_THRESHOLD 4
#define DMA_ALIGN_MASK (~(DMA_ALIGN_THRESHOLD - 1))
-#define MIN(x, y) (((x) < (y))? (x) : (y))
#define CANCHANGE(c) (!(c->flags & CHN_F_TRIGGERED))
/*
OpenPOWER on IntegriCloud