diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2015-03-29 14:54:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 14:00:14 +0200 |
commit | a4820acfaf179982a86783ee0c0d5d39a9c5ab20 (patch) | |
tree | a307e23db0554bf7325fe29756b2e1664454abb2 /tools/perf/scripts/python/export-to-postgresql.py | |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions