diff options
author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2017-06-14 18:33:03 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-23 19:36:49 +0200 |
commit | 428715bac69b98253e33c0034c829114481d5b32 (patch) | |
tree | c94835fbad65e7a598beaa4389e89bbfc8eca051 /drivers/staging/wlan-ng | |
parent | staging: rtl8723bs: hal: Use (true/false) in assignment to bool (diff) | |
download | linux-dev-428715bac69b98253e33c0034c829114481d5b32.tar.xz linux-dev-428715bac69b98253e33c0034c829114481d5b32.zip |
staging: rtl8723bs: Remove unnecessary cast in kfree
Remove unnecassary casts in the argument to kfree.
Found using Coccinelle. The semantic patch used to find this is as
follows:
//<smpl>
@@
type T;
expression *f;
@@
- kfree((T *)(f));
+ kfree(f);
//</smpl>
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng')
0 files changed, 0 insertions, 0 deletions