From: Julia Lawall Date: Thu, 15 May 2014 03:43:21 +0000 (+0200) Subject: vti6: delete unneeded call to netdev_priv X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~212 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=112a3513b51976111e5e4a3115485d3fc89410c1;p=pandora-kernel.git vti6: delete unneeded call to netdev_priv Netdev_priv is an accessor function, and has no purpose if its result is not used. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ local idexpression x; @@ -x = netdev_priv(...); ... when != x // Signed-off-by: Julia Lawall Signed-off-by: David S. Miller --- Reading git-diff-tree failed