From a4820acfaf179982a86783ee0c0d5d39a9c5ab20 Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sun, 29 Mar 2015 14:54:14 +0200 Subject: [PATCH] staging: ft1000: 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-format-patch failed