[tg3] Remove tg3_calc_dma_bndry()

This function never did much in this driver anyway, and after commit
b5ed30b2 ("[tg3] Fix compilation on newer gcc versions") it became
apparent that its remaining functionality could be easily moved to
tg3_test_dma().

Signed-off-by: Thomas Miletich <thomas.miletich@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Thomas Miletich
2012-02-10 13:34:23 +00:00
committed by Michael Brown
parent 3a4253868c
commit 1476d6f47c
3 changed files with 6 additions and 29 deletions
-1
View File
@@ -3380,7 +3380,6 @@ void tg3_set_txd(struct tg3 *tp, int entry, dma_addr_t mapping, int len, u32 fla
void tg3_set_power_state_0(struct tg3 *tp);
int tg3_alloc_consistent(struct tg3 *tp);
int tg3_init_hw(struct tg3 *tp, int reset_phy);
u32 tg3_calc_dma_bndry(struct tg3 *tp, u32 val);
void tg3_poll_link(struct tg3 *tp);
void tg3_wait_for_event_ack(struct tg3 *tp);
void __tg3_set_mac_addr(struct tg3 *tp, int skip_mac_1);