Re: [PATCH] wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc()
From: Kalle Valo
Date: Wed Sep 04 2019 - 02:08:09 EST
Markus Elfring <Markus.Elfring@xxxxxx> wrote:
> A null pointer would be passed to a call of the function âkfreeâ
> directly after a call of the function âkcallocâ failed at one place.
> Remove this superfluous function call.
> This issue was detected by using the Coccinelle software.
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Maya Erez <merez@xxxxxxxxxxxxxx>
> Signed-off-by: Kalle Valo <kvalo@xxxxxxxxxxxxxx>
Patch applied to ath-next branch of ath.git, thanks.
d20b1e6c8307 wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc()