commit | a4820acfaf179982a86783ee0c0d5d39a9c5ab20 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Mar 29 14:54:14 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 03 14:00:14 2015 +0200 |
tree | a307e23db0554bf7325fe29756b2e1664454abb2 | |
parent | 528a5691ad2f687d8f59ce1f3d058507a00927b6 [diff] |
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/) // <smpl> @@ type T; T *x; @@ x = - (T *) netdev_priv(...) // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>