Better fix for warning in ath_return_txbuf_locked

bufaddr doesn't need to be (void *).  Make it (struct ath_buf *).


git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2984 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
proski 2007-11-27 21:55:45 +00:00
parent 261fcaa170
commit 613b48e369

View File

@ -11665,12 +11665,12 @@ ath_return_txbuf_locked_debug(struct ath_softc *sc, struct ath_buf **buf, const
ath_return_txbuf_locked(struct ath_softc *sc, struct ath_buf **buf)
#endif /* #ifdef IEEE80211_DEBUG_REFCNT */
{
void *bufaddr;
struct ath_buf *bufaddr;
ATH_TXBUF_LOCK_ASSERT(sc);
if ((buf == NULL) || ((*buf) == NULL))
return;
bufaddr = (void *)*buf;
bufaddr = *buf;
#ifdef IEEE80211_DEBUG_REFCNT
cleanup_ath_buf_debug(sc, (*buf), BUS_DMA_TODEVICE, func, line);
#else