From: Julia Lawall Date: Thu, 15 May 2014 03:43:19 +0000 (+0200) Subject: net/ariadne: delete unneeded call to netdev_priv X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~214 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=688c3b003382c16be811072b4c6e88408672861c;p=pandora-kernel.git net/ariadne: 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