From: Julia Lawall Date: Sat, 17 May 2014 06:32:49 +0000 (+0200) Subject: video: delete unneeded call to platform_get_drvdata X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~24^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f513f4cc4f9620fb47b30de573d71091ea68026;p=pandora-kernel.git video: delete unneeded call to platform_get_drvdata 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 --- Reading git-diff-tree failed