diff options
Diffstat (limited to 'sys/dev/tx/if_txvar.h')
-rw-r--r-- | sys/dev/tx/if_txvar.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/sys/dev/tx/if_txvar.h b/sys/dev/tx/if_txvar.h index 16dc36d..101b9e8 100644 --- a/sys/dev/tx/if_txvar.h +++ b/sys/dev/tx/if_txvar.h @@ -131,16 +131,3 @@ struct epic_type { epic_read_phy_reg((sc), (phy), (reg)) #define PHY_WRITE_2(sc, phy, reg, val) \ epic_write_phy_reg((sc), (phy), (reg), (val)) - -/* Macro to get either mbuf cluster or nothing */ -#define EPIC_MGETCLUSTER(m) \ - { MGETHDR((m),M_DONTWAIT,MT_DATA); \ - if (m) { \ - MCLGET((m),M_DONTWAIT); \ - if( 0 == ((m)->m_flags & M_EXT) ) { \ - m_freem(m); \ - (m) = NULL; \ - } \ - } \ - } - |