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

Commit 8775b54a authored by Srinivas Rao L's avatar Srinivas Rao L
Browse files

Revert "soc: qcom: rpm-smd: free NOACK messages upon receipt"



This reverts 'commit 16c0ee5c ("soc: qcom: rpm-smd: free NOACK
messages upon receipt")'

Change-Id: I9dcf6ba8ae1c6d39642d282901408b6fb8fa43af
Signed-off-by: default avatarSrinivas Rao L <lsrao@codeaurora.org>
parent 60d83900
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
/* Copyright (c) 2012-2015, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-2016, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -912,10 +912,8 @@ static void msm_rpm_process_ack(uint32_t msg_id, int errno)
			elem->errno = errno;
			elem->ack_recd = true;
			complete(&elem->ack);
			if (elem->delete_on_ack) {
			if (elem->delete_on_ack)
				list_del(&elem->list);
				kfree(elem);
			}
			break;
		}
		elem = NULL;