mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 01:25:39 +01:00
staging: r8188eu: make rtw_remainder_len() static
The function rtw_remainder_len() is only used in xmit_linux.c. Make it static. 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-2-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4ce515776e
commit
760964b034
|
|
@ -37,7 +37,6 @@ int rtw_os_xmit_resource_alloc(struct adapter *padapter,
|
|||
void rtw_os_xmit_resource_free(struct adapter *padapter,
|
||||
struct xmit_buf *pxmitbuf, u32 free_sz);
|
||||
|
||||
uint rtw_remainder_len(struct pkt_file *pfile);
|
||||
void _rtw_open_pktfile(struct sk_buff *pkt, struct pkt_file *pfile);
|
||||
uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
#include "../include/osdep_intf.h"
|
||||
#include "../include/usb_osintf.h"
|
||||
|
||||
uint rtw_remainder_len(struct pkt_file *pfile)
|
||||
static uint rtw_remainder_len(struct pkt_file *pfile)
|
||||
{
|
||||
return pfile->buf_len - ((size_t)(pfile->cur_addr) -
|
||||
(size_t)(pfile->buf_start));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user