Tag: e6533e879fd24f36c50a9db3b41d3433784222ff

usb: storage: ene_ub6250: Remove unnecessary cast in kfree

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Remove unnecassary casts in the argument to kfree. Found using Coccinelle. The semantic patch used to find this is as follows: // @@ type T; expression *f; @@ – kfree((T *)(f)); + kfree(f); // Signed-off-by: Amitoj Kaur Chawla Signed-off-by: Greg Kroah-Hartman — drivers/usb/storage/ene_ub6250.c | 4 ++– 1 file changed, 2 …

Continue reading