diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2020-10-23 16:55:33 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-10-27 16:07:42 -0700 |
commit | b6bf4776d9e2ed4b2552d1c252fff8de3786309a (patch) | |
tree | a1b26f0f8dedaf834d1967ce503aa6b95fb5c629 | |
parent | 3cb12d27ff655e57e8efe3486dca2a22f4e30578 (diff) |
vxge: remove unnecessary cast in kfree()
Remove unnecessary cast in the argument to kfree.
Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20201023085533.4792-1-vulab@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | drivers/net/ethernet/neterion/vxge/vxge-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/neterion/vxge/vxge-config.c b/drivers/net/ethernet/neterion/vxge/vxge-config.c index f5d48d7c4ce2..da48dd85770c 100644 --- a/drivers/net/ethernet/neterion/vxge/vxge-config.c +++ b/drivers/net/ethernet/neterion/vxge/vxge-config.c @@ -1121,7 +1121,7 @@ static void __vxge_hw_blockpool_destroy(struct __vxge_hw_blockpool *blockpool) list_for_each_safe(p, n, &blockpool->free_entry_list) { list_del(&((struct __vxge_hw_blockpool_entry *)p)->item); - kfree((void *)p); + kfree(p); } return; |