mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
staging: r8188eu: make rtw_deinit_intf_priv return void
rtw_deinit_intf_priv() always return success, so there is no need in return value Acked-by: Michael Straube <straube.linux@gmail.com> Acked-by: Phillip Potter <phil@philpotter.co.uk> Acked-by: Martin Kaiser <martin@kaiser.cx> Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Link: https://lore.kernel.org/r/20210823184059.19742-1-paskripkin@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bd5f258aff
commit
f228d1d509
1 changed files with 1 additions and 4 deletions
|
@ -129,13 +129,10 @@ static u8 rtw_init_intf_priv(struct dvobj_priv *dvobj)
|
|||
return rst;
|
||||
}
|
||||
|
||||
static u8 rtw_deinit_intf_priv(struct dvobj_priv *dvobj)
|
||||
static void rtw_deinit_intf_priv(struct dvobj_priv *dvobj)
|
||||
{
|
||||
u8 rst = _SUCCESS;
|
||||
|
||||
kfree(dvobj->usb_alloc_vendor_req_buf);
|
||||
_rtw_mutex_free(&dvobj->usb_vendor_req_mutex);
|
||||
return rst;
|
||||
}
|
||||
|
||||
static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
|
||||
|
|
Loading…
Reference in a new issue