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

octeontx2-af: Remove unnecessary devm_kfree



commit cf64561ef68cb6395406dfa3e09a61655c588e78 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/+/57126


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