diff options
| author | Aishwarya Ramakrishnan <[email protected]> | 2020-04-19 21:59:17 +0530 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-04-20 12:23:06 -0700 |
| commit | 745e5ad5084db32e093a143de324afa4ed95f14d (patch) | |
| tree | 6ddb292b8f1e5ef062eafddf1b0ca78284324a72 /lib/mpi/mpi-cmp.c | |
| parent | 5333fdbed0c860c7a17dc12f328203d29947eff7 (diff) | |
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
function to struct pointer is useless.
This issue was detected by using the Coccinelle.
Signed-off-by: Aishwarya Ramakrishnan <[email protected]>
Acked-by: Michal KalderonĀ <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions