diff options
| author | Varsha Rao <[email protected]> | 2017-03-08 09:42:46 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-09 14:55:09 +0100 |
| commit | 285d02a18c5932a06e52d8f68809915469e8afa2 (patch) | |
| tree | 2cb8f79a3c77b8865d896454efe3507c0fd19693 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 069baa6a5e010060ce4fa37977555e6b8e9b21ba (diff) | |
staging: wilc1000: Remove useless cast.
Variable ip_addr is already declared as pointer to u8. Again explicit type
casting of ip_addr to u8, is not required. Hence this patch removes it
by using the following coccinelle script.
@@
type T;
T *ptr,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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions