diff options
| author | Varsha Rao <[email protected]> | 2017-03-09 19:49:01 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-09 19:07:57 +0100 |
| commit | a2be06266b65c17df7ec5d1331670eb61b848993 (patch) | |
| tree | 6fe7ec35a2d06ac73de3374e1cb6cf3d0a6a32cc /tools/perf/scripts/python/netdev-times.py | |
| parent | d493859392000828804c0f1bfe500e3ce17d533f (diff) | |
staging: comedi: Remove useless cast.
Variable dac_data is already declared as of type u8. Again explicit type
casting of dac_data to u8, is not required. Hence this patch removes it
by using the following coccinelle script.
@@
type T;
T *ptr;
T p;
@@
(
- (T *)(&p)
+ &p
|
- (T *)ptr
+ ptr
|
- (T *)(ptr)
+ ptr
|
- (T)(p)
+ p
)
Signed-off-by: Varsha Rao <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions