diff options
author | 2015-03-29 14:54:14 +0200 | |
---|---|---|
committer | 2015-04-03 14:00:14 +0200 | |
commit | a4820acfaf179982a86783ee0c0d5d39a9c5ab20 (patch) | |
tree | a307e23db0554bf7325fe29756b2e1664454abb2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | staging: octeon-ethernet: delete cvm_oct_set_carrier() (diff) | |
download | wireguard-linux-a4820acfaf179982a86783ee0c0d5d39a9c5ab20.tar.xz wireguard-linux-a4820acfaf179982a86783ee0c0d5d39a9c5ab20.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions