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

Commit 104eef6e authored by Fuad Hossain's avatar Fuad Hossain Committed by Gerrit - the friendly Code Review server
Browse files

platform: msm: Remove unused local count variable



Remove an unused local count variable. The usage
of this variable was removed in an earlier
change.

Change-Id: Id250913dcff54458fbabaeae921eb73f9e6577b1
Signed-off-by: default avatarFuad Hossain <fhossain@codeaurora.org>
parent 54ada83a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -90,9 +90,7 @@ static const char *msm_ext_disp_name(enum msm_ext_disp_type type)
static int msm_ext_disp_add_intf_data(struct msm_ext_disp *ext_disp,
		struct msm_ext_disp_init_data *data)
{
	int count = 0;
	struct msm_ext_disp_list *node;
	struct list_head *pos = NULL;

	if (!ext_disp || !data) {
		pr_err("Invalid params\n");
@@ -105,12 +103,8 @@ static int msm_ext_disp_add_intf_data(struct msm_ext_disp *ext_disp,

	node->data = data;

	list_for_each(pos, &ext_disp->display_list)
		count++;

	list_add(&node->list, &ext_disp->display_list);


	pr_debug("Added new display (%s) ctld (%d) stream (%d)\n",
		msm_ext_disp_name(data->codec.type),
		data->codec.ctrl_id, data->codec.stream_id);