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

Commit 24d61ec1 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: pil: Remove unused variable 'seg_id'"

parents c8dd074d c07ae00d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -886,7 +886,6 @@ static int pil_notify_aop(struct pil_desc *desc, char *status)
static DECLARE_RWSEM(pil_pm_rwsem);

struct pil_seg_data {
	int seg_id;
	struct pil_desc *desc;
	struct pil_seg *seg;
	struct work_struct load_seg_work;
@@ -921,7 +920,6 @@ static int pil_load_segs(struct pil_desc *desc)

	/* Initialize and spawn a thread for each segment */
	list_for_each_entry(seg, &desc->priv->segs, list) {
		pil_seg_data[seg_id].seg_id = seg_id;
		pil_seg_data[seg_id].desc = desc;
		pil_seg_data[seg_id].seg = seg;