From: Julia Lawall Date: Sun, 29 Mar 2015 12:54:13 +0000 (+0200) Subject: n_gsm: Drop unneeded cast on netdev_priv X-Git-Tag: omap-for-v4.1/fixes-rc1~74^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbc32a88f1e73f244e6134fc119dd4d60a398c0;p=pandora-kernel.git n_gsm: Drop unneeded cast on netdev_priv The result of netdev_priv is already implicitly cast to the type of the left side of the assignment. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ type T; T *x; @@ x = - (T *) netdev_priv(...) // Signed-off-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed