diff options
| author | 2017-03-09 19:49:01 +0530 | |
|---|---|---|
| committer | 2017-03-09 19:07:57 +0100 | |
| commit | a2be06266b65c17df7ec5d1331670eb61b848993 (patch) | |
| tree | 6fe7ec35a2d06ac73de3374e1cb6cf3d0a6a32cc /tools/perf/scripts/python/bin | |
| parent | staging: vc04_services: Use ARRAY_SIZE macro (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 <rvarsha016@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
