mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 19:55:16 -05:00
Staging: rtl8723bs/os_dep: Remove typecast in kfree
Remove typecast of pointer in kfree((u8 *)pdvobj) as it is not needed. Found using the following Coccinelle semantic patch: @@ identifier x; type t; @@ -kfree((t *)x) +kfree(x) Signed-off-by: Meghana Madhyastha <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
dedc1a73c3
commit
c8d5fa7514
1 changed files with 1 additions and 1 deletions
|
|
@ -719,7 +719,7 @@ void devobj_deinit(struct dvobj_priv *pdvobj)
|
|||
mutex_destroy(&pdvobj->setch_mutex);
|
||||
mutex_destroy(&pdvobj->setbw_mutex);
|
||||
|
||||
kfree((u8 *)pdvobj);
|
||||
kfree(pdvobj);
|
||||
}
|
||||
|
||||
u8 rtw_reset_drv_sw(struct adapter *padapter)
|
||||
|
|
|
|||
Loading…
Reference in a new issue