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>
This commit is contained in:

committed by
David S. Miller

parent
0d37f36ff9
commit
df7641af49
@@ -1878,7 +1878,7 @@ static void bdx_tx_push_desc_safe(struct bdx_priv *priv, void *data, int size)
|
||||
udelay(50); /* give hw a chance to clean fifo */
|
||||
continue;
|
||||
}
|
||||
avail = MIN(avail, size);
|
||||
avail = min(avail, size);
|
||||
DBG("about to push %d bytes starting %p size %d\n", avail,
|
||||
data, size);
|
||||
bdx_tx_push_desc(priv, data, avail);
|
||||
|
Reference in New Issue
Block a user