mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
msm: ipa: remove initing head again if dma mapping fails
Remove Initializing rx_pkt link if dma mapping fails. Change-Id: I49d08555c875fc9039805ef8775be3b676f51d08 Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
This commit is contained in:
parent
c01e8606be
commit
f34eede3cb
1 changed files with 0 additions and 1 deletions
|
|
@ -2611,7 +2611,6 @@ static void ipa3_replenish_rx_cache_recycle(struct ipa3_sys_context *sys)
|
|||
fail_dma_mapping:
|
||||
spin_lock_bh(&sys->spinlock);
|
||||
list_add_tail(&rx_pkt->link, &sys->rcycl_list);
|
||||
INIT_LIST_HEAD(&rx_pkt->link);
|
||||
spin_unlock_bh(&sys->spinlock);
|
||||
fail_kmem_cache_alloc:
|
||||
if (rx_len_cached == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue