Skip to content
Commit 64f48e59 authored by Joao Pinto's avatar Joao Pinto Committed by David S. Miller
Browse files

net: stmicro: replace kzalloc with devm_kzalloc



The axi variable was not being freed upon device removal.
With devm_kzalloc it ensures that it is properly freed.

Signed-off-by: default avatarJoao Pinto <jpinto@synopsys.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e3c36e48
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