commit | 8f47c28b5a0346728259291d9e4a1de90a5d3624 | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sun Mar 29 14:54:12 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Apr 03 15:15:40 2015 +0200 |
tree | 4a457291ea39786c756ce1590f8676f0253b4147 | |
parent | 86d7b29e12b3bfba9b46761448476c878cf6e8b1 [diff] |
staging: rtl8712: 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>