wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 27 Aug 2019 14:39:02 +0000 (16:39 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 4 Sep 2019 06:07:29 +0000 (09:07 +0300)
commitd20b1e6c830721972d833ae0b845d4c483f118ca
tree6a0f941c7d4ccd1e6a12ab4e800af5a97cd91f84
parent9abe3e306eccdf23e482b3a6dde178311d592765
wil6210: Delete an unnecessary kfree() call in wil_tid_ampdu_rx_alloc()

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@users.sourceforge.net>
Reviewed-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/rx_reorder.c