staging: rtl723au: Remove some obsolete misleading comments
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3a35058f2e
commit
269746a4f3
|
@ -50,7 +50,8 @@ void _rtw_init_sta_xmit_priv23a(struct sta_xmit_priv *psta_xmitpriv)
|
|||
|
||||
}
|
||||
|
||||
s32 _rtw_init_xmit_priv23a(struct xmit_priv *pxmitpriv, struct rtw_adapter *padapter)
|
||||
int _rtw_init_xmit_priv23a(struct xmit_priv *pxmitpriv,
|
||||
struct rtw_adapter *padapter)
|
||||
{
|
||||
int i;
|
||||
struct xmit_buf *pxmitbuf;
|
||||
|
@ -59,18 +60,11 @@ s32 _rtw_init_xmit_priv23a(struct xmit_priv *pxmitpriv, struct rtw_adapter *pada
|
|||
u32 max_xmit_extbuf_size = MAX_XMIT_EXTBUF_SZ;
|
||||
u32 num_xmit_extbuf = NR_XMIT_EXTBUFF;
|
||||
|
||||
/* We don't need to memset padapter->XXX to zero, because adapter is allocated by rtw_zvmalloc(). */
|
||||
/* memset((unsigned char *)pxmitpriv, 0, sizeof(struct xmit_priv)); */
|
||||
|
||||
spin_lock_init(&pxmitpriv->lock);
|
||||
spin_lock_init(&pxmitpriv->lock_sctx);
|
||||
sema_init(&pxmitpriv->xmit_sema, 0);
|
||||
sema_init(&pxmitpriv->terminate_xmitthread_sema, 0);
|
||||
|
||||
/*
|
||||
Please insert all the queue initializaiton using _rtw_init_queue23a below
|
||||
*/
|
||||
|
||||
pxmitpriv->adapter = padapter;
|
||||
|
||||
_rtw_init_queue23a(&pxmitpriv->be_pending);
|
||||
|
|
|
@ -377,7 +377,7 @@ s32 rtw_txframes_pending23a(struct rtw_adapter *padapter);
|
|||
s32 rtw_txframes_sta_ac_pending23a(struct rtw_adapter *padapter,
|
||||
struct pkt_attrib *pattrib);
|
||||
void rtw_init_hwxmits23a(struct hw_xmit *phwxmit, int entry);
|
||||
s32 _rtw_init_xmit_priv23a(struct xmit_priv *pxmitpriv,
|
||||
int _rtw_init_xmit_priv23a(struct xmit_priv *pxmitpriv,
|
||||
struct rtw_adapter *padapter);
|
||||
void _rtw_free_xmit_priv23a(struct xmit_priv *pxmitpriv);
|
||||
void rtw_alloc_hwxmits23a(struct rtw_adapter *padapter);
|
||||
|
|
Loading…
Reference in a new issue