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

Commit eb4b3732 authored by Naitik Bharadiya's avatar Naitik Bharadiya
Browse files

soc: qcom: msm_bus: Fix compilation error with clang



Remove self assigned variable to fix -Wself-assign warning
with clang.

Change-Id: Ia47d8a3f7a6e926d3186fc618827dda09d81f31f
Signed-off-by: default avatarNaitik Bharadiya <bharad@codeaurora.org>
parent 2b1c4b91
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
/* Copyright (c) 2010-2012, 2014-2017, The Linux Foundation. All rights
/* Copyright (c) 2010-2012, 2014-2017, 2019 The Linux Foundation. All rights
 * reserved.
 *
 * This program is free software; you can redistribute it and/or modify
@@ -577,7 +577,6 @@ static ssize_t msm_bus_dbg_update_request_write(struct file *file,
	list_for_each_entry(cldata, &cl_list, list) {
		if (strnstr(chid, cldata->pdata->name, cnt)) {
			found = 1;
			cldata = cldata;
			strsep(&chid, " ");
			if (chid) {
				ret = kstrtoul(chid, 10, &index);