Tag: b292394d4f1909ecad42150bf8782c3000d101b7

[media] media: platform: vivid: vivid-osd: Remove unnecessary cast to kfree

Author: Amitoj Kaur Chawla <amitoj1606@gmail.com> Remove an unnecassary cast 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: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/platform/vivid/vivid-osd.c | 2 …

Continue reading