From patchwork Wed May 9 17:07:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudeep Holla X-Patchwork-Id: 135319 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp5306lji; Wed, 9 May 2018 10:12:51 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrfRnleKDvmZcHSWVngh9HSultuqpBoFGWZKuuc9WOOkNG+04qg+WYTpnQkPfVumlQQ63TC X-Received: by 2002:a63:344c:: with SMTP id b73-v6mr36874608pga.258.1525885971645; Wed, 09 May 2018 10:12:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525885971; cv=none; d=google.com; s=arc-20160816; b=gU6l78SLtS4SYxKQIi6RIe4vbS2nnwFx8qR7IwB4JSJ+LjxCT/56LoPeNfA6Ms6Kqz YOCiQZvKqeIlslkCJZ0OkXAYuurpX/eke4oYRA94vZ2Refap04OJqB5EaV5T3RHruufc FOMav00WsTtr79Dmt9REqFmQyEaB7t3DSwnEz8DURiYQPjpmleS2a4XAHfH0tjg1xWwB fv1nlCQ4MKIOoAw/AqIL0EIjo1j4hxNRXrm8Eo8kwlXqHNda4WOX5a5Sdp4WZnz1sRkd ZA/dyR5KkvghcVENJxYYJrhlQobtv0uQwsoXRSFe9KKnOVQxRHCuFrzdnT1OfxUlrwa9 qK0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Ra2hd88TeTDAMI5wsOlsTnN3+HYxGH7HD8Z5cHWpvjo=; b=0MTv7X+dl5CdgRabZvQZ5qzV2avciT1/I4S6zDxk2GjCduoVqsnE03tZ3VTrfYWOoK 1IGTBg1BCpwICGEY+QOUOxwrLhIEwvdedceZYW/2vhbFOHfglFURT3COfiIKdAM1Hc6/ mqvKlV9/Rpbf+WJJ47VlS2WulZFMFUjUE0SvV3VTZYd0rmwuAvPnUSah4rVFRtHenyWl nigIwOzWOcYltd++V86uKwrejXpo+VNYhB66Bhn5UXqgKgSN7Y6+WFs36TFHDlPnCR04 vbwE32S8Y1Gi7odIktyPvWfWlqbbf+2Us+N1Hc4AY4csflH8/r2J90//ehNSqX+/pQXR StcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j33-v6si16858745pld.151.2018.05.09.10.12.51; Wed, 09 May 2018 10:12:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965699AbeEIRMu (ORCPT + 10 others); Wed, 9 May 2018 13:12:50 -0400 Received: from foss.arm.com ([217.140.101.70]:47308 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965594AbeEIRMu (ORCPT ); Wed, 9 May 2018 13:12:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id D2674165D; Wed, 9 May 2018 10:12:49 -0700 (PDT) Received: from e107155-lin.cambridge.arm.com (unknown [10.1.210.28]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DF42B3F592; Wed, 9 May 2018 10:12:48 -0700 (PDT) From: Sudeep Holla To: linux-arm-kernel@lists.infradead.org, Jonathan Cameron Cc: Sudeep Holla , linux-pm@vger.kernel.org Subject: [PATCH 5/8] firmware: arm_scmi: drop unused `con_priv` structure member Date: Wed, 9 May 2018 18:07:11 +0100 Message-Id: <1525885634-22348-6-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525885634-22348-1-git-send-email-sudeep.holla@arm.com> References: <1525885634-22348-1-git-send-email-sudeep.holla@arm.com> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org Initially con_priv was supposedly used for transport specific data when the SCMI driver had an abstraction to communicate with different mailbox controllers. But after some discussions, the idea was dropped but this variable slipped through the cracks. This patch gets rid of this unused variable. Signed-off-by: Sudeep Holla --- drivers/firmware/arm_scmi/common.h | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 Acked-by: Jonathan Cameron diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h index 41b03e46cca8..937a930ce87d 100644 --- a/drivers/firmware/arm_scmi/common.h +++ b/drivers/firmware/arm_scmi/common.h @@ -86,9 +86,7 @@ struct scmi_msg { * buffer for the rx path as we use for the tx path. * @done: completion event */ - struct scmi_xfer { - void *con_priv; struct scmi_msg_hdr hdr; struct scmi_msg tx; struct scmi_msg rx;