Skip to content
Commit 5841b903 authored by Christopher Diaz Riveros's avatar Christopher Diaz Riveros Committed by Greg Kroah-Hartman
Browse files

staging: net: netlogic: Remove unneeded cast



Fix Coccinelle alert:

drivers/staging//netlogic/xlr_net.c:996:12-30: WARNING: casting value returned by memory allocation function to (struct xlr_adapter *) is useless.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarChristopher Diaz Riveros <chrisadr@gentoo.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 444634f5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment