diff options
author | Wang Hai <wanghai38@huawei.com> | 2020-07-22 05:10:27 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-23 03:28:54 +0300 |
commit | 7979a7d2abb831371f9e75ab88d94dda59dfcf96 (patch) | |
tree | a2449810eb83d636efb7c56ec9963e203afa856f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | fb16d465f7710d5bfb9bd4d4bee72ba053ab27da (diff) | |
download | linux-7979a7d2abb831371f9e75ab88d94dda59dfcf96.tar.xz |
net: qed: Remove unneeded cast from memory allocation
Remove casting the values returned by memory allocation function.
Coccinelle emits WARNING: casting value returned by memory allocation
unction to (struct roce_destroy_qp_req_output_params *) is useless.
This issue was detected by using the Coccinelle software.
Signed-off-by: Wang Hai <wanghai38@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions