Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 958c7881 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: Fix wrong usage and cleanup code"

parents b411ecac 42ad67bf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -649,7 +649,6 @@ static int __ipa_add_hdr_proc_ctx(struct ipa_hdr_proc_ctx_add *proc_ctx,
	return 0;

ipa_insert_failed:
	if (offset)
	list_move(&offset->link,
		&htbl->head_free_offset_list[offset->bin]);
	entry->offset_entry = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -1395,7 +1395,7 @@ int ipa2_put_rt_tbl(u32 rt_tbl_hdl)
{
	struct ipa_rt_tbl *entry;
	enum ipa_ip_type ip = IPA_IP_MAX;
	int result;
	int result = 0;

	mutex_lock(&ipa_ctx->lock);
	entry = ipa_id_find(rt_tbl_hdl);
+1 −2
Original line number Diff line number Diff line
@@ -424,7 +424,6 @@ static int __ipa_add_hdr_proc_ctx(struct ipa_hdr_proc_ctx_add *proc_ctx,
	return 0;

ipa_insert_failed:
	if (offset)
	list_move(&offset->link,
		&htbl->head_free_offset_list[offset->bin]);
	entry->offset_entry = NULL;
+1 −1
Original line number Diff line number Diff line
@@ -1476,7 +1476,7 @@ int ipa3_put_rt_tbl(u32 rt_tbl_hdl)
{
	struct ipa3_rt_tbl *entry;
	enum ipa_ip_type ip = IPA_IP_MAX;
	int result;
	int result = 0;

	mutex_lock(&ipa3_ctx->lock);
	entry = ipa3_id_find(rt_tbl_hdl);