mirror of https://gitee.com/openkylin/linux.git
staging: rtl8712: r8712_xmit_direct(): Change return type
Change return type of r8712_xmit_direct from int to void as its return value is never used. Remove return statement accordingly. Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com> Link: https://lore.kernel.org/r/20190809052353.5308-6-nishkadg.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
670b673fa0
commit
9958e0e53b
|
@ -737,7 +737,7 @@ static void dump_xframe(struct _adapter *padapter,
|
|||
}
|
||||
}
|
||||
|
||||
int r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe)
|
||||
void r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe)
|
||||
{
|
||||
int res;
|
||||
|
||||
|
@ -745,7 +745,6 @@ int r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe)
|
|||
pxmitframe->pkt = NULL;
|
||||
if (res == _SUCCESS)
|
||||
dump_xframe(padapter, pxmitframe);
|
||||
return res;
|
||||
}
|
||||
|
||||
int r8712_xmit_enqueue(struct _adapter *padapter, struct xmit_frame *pxmitframe)
|
||||
|
|
|
@ -276,7 +276,7 @@ void r8712_free_xmitframe_ex(struct xmit_priv *pxmitpriv,
|
|||
int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
int r8712_xmit_enqueue(struct _adapter *padapter,
|
||||
struct xmit_frame *pxmitframe);
|
||||
int r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
void r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
void r8712_xmit_bh(void *priv);
|
||||
|
||||
void xmitframe_xmitbuf_attach(struct xmit_frame *pxmitframe,
|
||||
|
|
Loading…
Reference in New Issue