Skip to content
Commit ed48cfed authored by Jules Irenge's avatar Jules Irenge Committed by Jakub Kicinski
Browse files

octeon_ep: Remove useless casting value returned by vzalloc to structure



coccinelle reports a warning

WARNING: casting value returned by memory allocation
function to (struct octep_rx_buffer *) is useless.

To fix this the useless cast is removed.

Signed-off-by: default avatarJules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/Yx+sr9o0uylXVcOl@playground


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 8bb7c4f8
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