Home
last modified time | relevance | path

Searched hist:e6533e87 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/storage/
H A Dene_ub6250.ce6533e87 Tue Jan 26 12:42:23 CST 2016 Amitoj Kaur Chawla <amitoj1606@gmail.com> usb: storage: ene_ub6250: 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>
e6533e87 Tue Jan 26 12:42:23 CST 2016 Amitoj Kaur Chawla <amitoj1606@gmail.com> usb: storage: ene_ub6250: 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>