diff options
| author | Madhumitha Prabakaran <[email protected]> | 2019-05-05 13:32:30 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-05-20 07:40:38 +0200 |
| commit | a301ecbc7ed0e27dde933e4c323204139cdc1694 (patch) | |
| tree | b65b8c1466879b8ce8645f29cbdfd414ee8ec17b /tools/perf/scripts/python | |
| parent | 5badafb1f0c94d0de48870a094631d0d07f93bb0 (diff) | |
Staging: kpc2000: Cleanup in kpc_dma_transfer()
Remove unnecessary typecast in kzalloc function. In addition to that
replace kzalloc(sizeof(*acd)) over kzalloc(sizeof(struct aio_cb_data))
to maintain Linux kernel style.
Issue suggested by Coccinelle.
Signed-off-by: Madhumitha Prabakaran <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions