summaryrefslogtreecommitdiffstats
path: root/drivers/net/tehuti.h
diff options
context:
space:
mode:
authorThiago Farina <tfransosi@gmail.com>2009-11-03 04:10:29 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-04 14:06:24 +0100
commitdf7641af498c1575f5e9719cb391a1fa8159db1b (patch)
tree38a7beb7c2e44689d9ca5a2bf8c3a663f13f9455 /drivers/net/tehuti.h
parentcnic: ensure ulp_type is not negative (diff)
downloadlinux-df7641af498c1575f5e9719cb391a1fa8159db1b.tar.xz
linux-df7641af498c1575f5e9719cb391a1fa8159db1b.zip
trivial: remove duplicated MIN macro from tehuti.
Since the kernel api already has the macro "min", just use it instead of declaring another one. Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/tehuti.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/tehuti.h b/drivers/net/tehuti.h
index 4fc875e5dcdd..124141909e42 100644
--- a/drivers/net/tehuti.h
+++ b/drivers/net/tehuti.h
@@ -76,8 +76,6 @@
#define FIFO_SIZE 4096
#define FIFO_EXTRA_SPACE 1024
-#define MIN(x, y) ((x) < (y) ? (x) : (y))
-
#if BITS_PER_LONG == 64
# define H32_64(x) (u32) ((u64)(x) >> 32)
# define L32_64(x) (u32) ((u64)(x) & 0xffffffff)