Skip to content
Commit 745e5ad5 authored by Aishwarya Ramakrishnan's avatar Aishwarya Ramakrishnan Committed by David S. Miller
Browse files

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: default avatarAishwarya Ramakrishnan <aishwaryarj100@gmail.com>
Acked-by: default avatarMichal <Kalderon &lt;michal.kalderon@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5333fdbe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment