[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>
This commit is contained in:
@@ -229,10 +229,6 @@ struct ath_common {
|
||||
int btcoex_enabled;
|
||||
};
|
||||
|
||||
struct io_buffer *ath_rxbuf_alloc(struct ath_common *common,
|
||||
u32 len,
|
||||
u32 *iob_addr);
|
||||
|
||||
void ath_hw_setbssidmask(struct ath_common *common);
|
||||
int ath_hw_keyreset(struct ath_common *common, u16 entry);
|
||||
void ath_hw_cycle_counters_update(struct ath_common *common);
|
||||
|
||||
Reference in New Issue
Block a user