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: Sunil Goutham <sgoutham@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/57128 Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Please register or sign in to comment