[ath9k] Remove broken ath_rxbuf_alloc()
authorMichael Brown <mcb30@ipxe.org>
Thu, 28 Jan 2016 14:15:36 +0000 (14:15 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 28 Jan 2016 14:24:24 +0000 (14:24 +0000)
commitd0bfd830e4e5ddd1015dda66833a99b068b6a519
treed764e2cbe795b67bc5b99e12b2c4230df1dd7822
parent4ddd3d99c36d1fd3e8a4b31c1814e7d82ca91081
[ath9k] Remove broken ath_rxbuf_alloc()

ath_rx_init() demonstrates some serious confusion over how to use
pointers, resulting in (uint32_t*)NULL being used as a temporary
variable.  This does not end well.

The broken code in question is performing manual alignment of I/O
buffers, which can now be achieved more simply using alloc_iob_raw().
Fix by removing ath_rxbuf_alloc() entirely.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/ath/ath.h
src/drivers/net/ath/ath9k/ath9k_recv.c
src/drivers/net/ath/ath_main.c [deleted file]