diff options
author | Dan Carpenter <[email protected]> | 2016-11-17 14:00:05 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-12-12 16:31:45 -0500 |
commit | 95db9d05b717b1ec242799103c09acda8d728974 (patch) | |
tree | 6381a7596172dfdfb16daae59a16237f43b41745 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 4ac4707102d9ea1ffc9b5735891f6c5ee3d236e5 (diff) |
IB/rxe: Remove unneeded cast in rxe_srq_from_attr()
It makes me nervous when we cast pointer parameters. I would estimate
that around 50% of the time, it indicates a bug. Here the cast is not
needed becaue u32 and and unsigned int are the same thing. Removing the
cast makes the code more robust and future proof in case any of the
types change.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Acked-by: Moni Shoua <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions