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

Commit 7fdbc7ca authored by Prudhvi Yarlagadda's avatar Prudhvi Yarlagadda Committed by Gerrit - the friendly Code Review server
Browse files

Slimbus: Remove the mutex_unlock which is not necessary



Remove the mutex_unlock which is not required in
reconfigure_now API as it is already present outside the
reconfigure_now function.

Change-Id: Iebd7e6718cc51b4dc7dc24855603ef64f046ed20
Signed-off-by: default avatarPrudhvi Yarlagadda <pyarlaga@codeaurora.org>
parent 18ff0692
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2943,7 +2943,6 @@ int slim_reconfigure_now(struct slim_device *sb)
			}
		}
		if (list_empty(&sb->mark_removal)) {
			mutex_unlock(&ctrl->sched.m_reconf);
			pr_info("SLIM_CL: skip reconfig sequence\n");
			return 0;
		}
@@ -3148,7 +3147,6 @@ int slim_reconfigure_now(struct slim_device *sb)
		ctrl->sched.msgsl = ctrl->sched.pending_msgsl;
		sb->cur_msgsl = sb->pending_msgsl;
		slim_chan_changes(sb, false);
		mutex_unlock(&ctrl->sched.m_reconf);
		return 0;
	}