Skip to content
Commit be3a3d18 authored by Sunil Goutham's avatar Sunil Goutham Committed by Ruiqiang Hao
Browse files

octeontx2-af: Remove unnecessary devm_kfree



commit 9d4ddd7b71c21faa69e9c0fce58e753a977f4881 from
git@git.assembla.com:cavium/WindRiver.linux.git

Remove devm_kfree of memory where VLAN entry to RVU PF mapping
info is saved. This will be freed anyway at driver exit.
Having this could result in warning from devm_kfree() if
the memory is not allocated due to errors in rvu_nix_block_init()
before nix_setup_txvlan().

Change-Id: Ieac5282fe91c0f49707b00b46688eb3e9c068db1
Fixes: 9a946def ("octeontx2-af: Modify nix_vtag_cfg mailbox to support TX VTAG entries")
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/57128


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent d4cb1881
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