diff options
author | Thiago Farina <tfransosi@gmail.com> | 2009-11-02 22:10:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-04 08:06:24 -0500 |
commit | df7641af498c1575f5e9719cb391a1fa8159db1b (patch) | |
tree | 38a7beb7c2e44689d9ca5a2bf8c3a663f13f9455 /drivers/net/tehuti.c | |
parent | 0d37f36ff9bc41067c71635d14b6a5834853a779 (diff) |
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 'drivers/net/tehuti.c')
-rw-r--r-- | drivers/net/tehuti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tehuti.c b/drivers/net/tehuti.c index 79d4868e75a6..492bff68bf2d 100644 --- a/drivers/net/tehuti.c +++ b/drivers/net/tehuti.c | |||
@@ -1878,7 +1878,7 @@ static void bdx_tx_push_desc_safe(struct bdx_priv *priv, void *data, int size) | |||
1878 | udelay(50); /* give hw a chance to clean fifo */ | 1878 | udelay(50); /* give hw a chance to clean fifo */ |
1879 | continue; | 1879 | continue; |
1880 | } | 1880 | } |
1881 | avail = MIN(avail, size); | 1881 | avail = min(avail, size); |
1882 | DBG("about to push %d bytes starting %p size %d\n", avail, | 1882 | DBG("about to push %d bytes starting %p size %d\n", avail, |
1883 | data, size); | 1883 | data, size); |
1884 | bdx_tx_push_desc(priv, data, avail); | 1884 | bdx_tx_push_desc(priv, data, avail); |