mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-28 23:59:55 -04:00
staging: r8188eu: mark rtw_endofpktfile as bool
Mark rtw_endofpktfile as bool as it returns true/false. Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Vihas Makwana <makvihas@gmail.com> Link: https://lore.kernel.org/r/20220302204737.49056-17-makvihas@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5a61d6b4f4
commit
daed08de44
@@ -40,7 +40,7 @@ void rtw_os_xmit_resource_free(struct adapter *padapter,
|
||||
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);
|
||||
int rtw_endofpktfile(struct pkt_file *pfile);
|
||||
bool rtw_endofpktfile(struct pkt_file *pfile);
|
||||
|
||||
void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt);
|
||||
void rtw_os_xmit_complete(struct adapter *padapter,
|
||||
|
||||
@@ -54,7 +54,7 @@ uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen)
|
||||
return len;
|
||||
}
|
||||
|
||||
int rtw_endofpktfile(struct pkt_file *pfile)
|
||||
bool rtw_endofpktfile(struct pkt_file *pfile)
|
||||
{
|
||||
|
||||
if (pfile->pkt_len == 0) {
|
||||
|
||||
Reference in New Issue
Block a user