diff options
author | 2020-04-19 21:14:43 +0530 | |
---|---|---|
committer | 2020-04-20 12:21:21 -0700 | |
commit | 5333fdbed0c860c7a17dc12f328203d29947eff7 (patch) | |
tree | ec0a0b5e8c8ce92e02b7e293e734002fe8e7af5a /tools/perf/scripts/python | |
parent | net: ethernet: dnet: convert to devm_platform_get_and_ioremap_resource (diff) | |
download | linux-dev-5333fdbed0c860c7a17dc12f328203d29947eff7.tar.xz linux-dev-5333fdbed0c860c7a17dc12f328203d29947eff7.zip |
net: sun: Remove unneeded cast from memory allocation
Remove casting the values returned by memory allocation function.
Coccinelle emits WARNING: casting value returned by memory allocation
function to (struct cas_init_block *) is useless.
This issue was detected by using the Coccinelle software.
Signed-off-by: Aishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions