diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2022-09-12 23:03:27 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-19 18:33:21 -0700 |
commit | ed48cfedf1e2250c856d0f894310d081adde5040 (patch) | |
tree | ef4924ee21a9fa4d8f4c2ea3fd3b1a420b81a2f0 /net/dsa/dsa.c | |
parent | 8bb7c4f8c9276eb61f7f39cc107f67a0e81de610 (diff) | |
download | linux-ed48cfedf1e2250c856d0f894310d081adde5040.tar.gz linux-ed48cfedf1e2250c856d0f894310d081adde5040.tar.bz2 linux-ed48cfedf1e2250c856d0f894310d081adde5040.zip |
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: Jules Irenge <jbi.octave@gmail.com>
Link: https://lore.kernel.org/r/Yx+sr9o0uylXVcOl@playground
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions