mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 01:25:39 +01:00
staging: r8188eu: rename _rtw_open_pktfile()
There is no need to prefix the function name of _rtw_open_pktfile() with an underscore. Rename it to rtw_open_pktfile(). Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20220820181623.12497-10-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2ae2664fe8
commit
0fb8749e3b
|
|
@ -402,7 +402,7 @@ u8 qos_acm(u8 acm_mask, u8 priority)
|
|||
return change_priority;
|
||||
}
|
||||
|
||||
static void _rtw_open_pktfile(struct sk_buff *pktptr, struct pkt_file *pfile)
|
||||
static void rtw_open_pktfile(struct sk_buff *pktptr, struct pkt_file *pfile)
|
||||
{
|
||||
if (!pktptr) {
|
||||
pr_err("8188eu: pktptr is NULL\n");
|
||||
|
|
@ -427,7 +427,7 @@ static void set_qos(struct pkt_file *ppktfile, struct pkt_attrib *pattrib)
|
|||
struct iphdr ip_hdr;
|
||||
s32 user_prio = 0;
|
||||
|
||||
_rtw_open_pktfile(ppktfile->pkt, ppktfile);
|
||||
rtw_open_pktfile(ppktfile->pkt, ppktfile);
|
||||
_rtw_pktfile_read(ppktfile, (unsigned char *)ðerhdr, ETH_HLEN);
|
||||
|
||||
/* get user_prio from IP hdr */
|
||||
|
|
@ -461,7 +461,7 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p
|
|||
|
||||
|
||||
|
||||
_rtw_open_pktfile(pkt, &pktfile);
|
||||
rtw_open_pktfile(pkt, &pktfile);
|
||||
_rtw_pktfile_read(&pktfile, (u8 *)ðerhdr, ETH_HLEN);
|
||||
|
||||
pattrib->ether_type = ntohs(etherhdr.h_proto);
|
||||
|
|
@ -940,7 +940,7 @@ s32 rtw_xmitframe_coalesce(struct adapter *padapter, struct sk_buff *pkt, struct
|
|||
goto exit;
|
||||
}
|
||||
|
||||
_rtw_open_pktfile(pkt, &pktfile);
|
||||
rtw_open_pktfile(pkt, &pktfile);
|
||||
_rtw_pktfile_read(&pktfile, NULL, pattrib->pkt_hdrlen);
|
||||
|
||||
frg_inx = 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user