diff options
| author | Varsha Rao <[email protected]> | 2017-03-09 21:20:04 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-09 17:51:11 +0100 |
| commit | bf5d0300f1ac9399c3e3d900c5b767081d5f4af9 (patch) | |
| tree | 630424c32fe9f71de8fc678c6a65469ef7e22c06 /tools/perf/scripts/python | |
| parent | f4fa03701d8ad94846f3577d46cd8cc782fe9d8a (diff) | |
staging: media: atomisp: Remove useless cast.
Explicit type casting of variable, with same type as that of variable,
is not required. The following coccinelle script is used to remove it.
@@
type T;
T *ptr;
T p;
@@
(
- (T *)(&p)
+ &p
|
- (T *)ptr
+ ptr
|
- (T *)(ptr)
+ ptr
|
- (T)(p)
+ p
)
This patch also removes unnecessary parentheses.
Signed-off-by: Varsha Rao <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions