summaryrefslogtreecommitdiffstats
path: root/sys/dev/hifn
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2003-02-02 13:30:00 +0000
committeralfred <alfred@FreeBSD.org>2003-02-02 13:30:00 +0000
commit86daf0cca62a97be81f25418c5bc87bd61f30ce5 (patch)
treeef698c578fc83f9d33a0a199470e403aea1df556 /sys/dev/hifn
parent8f9cc7853a3a43f6438de39dfffdcc207ccba0ef (diff)
downloadFreeBSD-src-86daf0cca62a97be81f25418c5bc87bd61f30ce5.zip
FreeBSD-src-86daf0cca62a97be81f25418c5bc87bd61f30ce5.tar.gz
Catch more uses of MIN().
Diffstat (limited to 'sys/dev/hifn')
-rw-r--r--sys/dev/hifn/hifn7751.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c
index 81762a8..6b6d9c6 100644
--- a/sys/dev/hifn/hifn7751.c
+++ b/sys/dev/hifn/hifn7751.c
@@ -1362,7 +1362,6 @@ hifn_init_dma(struct hifn_softc *sc)
static u_int
hifn_write_command(struct hifn_command *cmd, u_int8_t *buf)
{
-#define MIN(a,b) ((a)<(b)?(a):(b))
u_int8_t *buf_pos;
hifn_base_command_t *base_cmd;
hifn_mac_command_t *mac_cmd;
@@ -1456,7 +1455,6 @@ hifn_write_command(struct hifn_command *cmd, u_int8_t *buf)
}
return (buf_pos - buf);
-#undef MIN
}
static int
OpenPOWER on IntegriCloud