From 8f9cc7853a3a43f6438de39dfffdcc207ccba0ef Mon Sep 17 00:00:00 2001 From: alfred Date: Sun, 2 Feb 2003 13:21:05 +0000 Subject: remove MIN now that it's a standard kernel define --- sys/dev/sound/pcm/buffer.c | 2 -- sys/dev/sound/pcm/channel.c | 1 - 2 files changed, 3 deletions(-) (limited to 'sys') 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)) /* -- cgit v1.1