diff options
author | 2020-07-24 21:46:30 +0800 | |
---|---|---|
committer | 2020-07-24 17:28:51 -0700 | |
commit | 9b964f16546167fd1d5dfcf4d66f5cc9bf608525 (patch) | |
tree | c7bf2f52943799813803abd752ea4706e432363b /tools/perf/scripts/python/syscall-counts.py | |
parent | Merge branch 'l2tp-avoid-multiple-assignment-remove-BUG_ON' (diff) | |
download | linux-dev-9b964f16546167fd1d5dfcf4d66f5cc9bf608525.tar.xz linux-dev-9b964f16546167fd1d5dfcf4d66f5cc9bf608525.zip |
net: hix5hd2_gmac: Remove unneeded cast from memory allocation
Remove casting the values returned by memory allocation function.
Coccinelle emits WARNING:
./drivers/net/ethernet/hisilicon/hix5hd2_gmac.c:1027:9-23: WARNING:
casting value returned by memory allocation function to (struct sg_desc *) 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/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions