]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2cb17ff37a5947a5d7473b761bfd28940a7cb42c
tree6a0f941c7d4ccd1e6a12ab4e800af5a97cd91f84
parentb44a48adde844005dc25506bcdd84cab97a36bf7
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