Skip to content
Commit c8d5fa75 authored by Meghana Madhyastha's avatar Meghana Madhyastha Committed by Greg Kroah-Hartman
Browse files

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: default avatarMeghana Madhyastha <meghana.madhyastha@gmail.com>
Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dedc1a73
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment