Tag: 3f513f4cc4f9620fb47b30de573d71091ea68026

video: delete unneeded call to platform_get_drvdata

Author: Julia Lawall <Julia.Lawall@lip6.fr> Platform_get_drvdata is an accessor function, and has no purpose if its result is not used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ identifier x; type T; @@ – T x = platform_get_drvdata(…); … when != x // Signed-off-by: Julia Lawall Signed-off-by: Tomi Valkeinen — drivers/video/fbdev/bf54x-lq043fb.c …

Continue reading