Searched hist:e6533e87 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/usb/storage/ |
H A D | ene_ub6250.c | 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> 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>
|