]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mt76: dma: use kzalloc instead of devm_kzalloc for txwi
authorFelix Fietkau <nbd@nbd.name>
Sat, 19 Mar 2022 20:56:20 +0000 (21:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:08:14 +0000 (11:08 +0100)
commit77b2ab5cd1a4ef669f56ae1e064d607ea093d15a
tree3aa96590fd762f38a42215bf4c19872ee6cad9f9
parent064b32f18db19dcedbc19e6bcaf49b10eabc7ffc
mt76: dma: use kzalloc instead of devm_kzalloc for txwi

[ Upstream commit 402e01092e79583923579662f244bc538f466f36 ]

dma unmap is already needed for cleanup anyway, so we don't need the extra
tracking and can save a bit of memory here

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Stable-dep-of: 317620593349 ("wifi: mt76: mt7603: improve stuck beacon handling")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/mediatek/mt76/dma.c