From patchwork Thu Sep 15 10:45:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 76266 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp2367313qgf; Thu, 15 Sep 2016 03:44:52 -0700 (PDT) X-Received: by 10.66.83.138 with SMTP id q10mr13355651pay.54.1473936292791; Thu, 15 Sep 2016 03:44:52 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d63si877221pfc.34.2016.09.15.03.44.52; Thu, 15 Sep 2016 03:44:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934311AbcIOKoo (ORCPT + 27 others); Thu, 15 Sep 2016 06:44:44 -0400 Received: from mail-lf0-f47.google.com ([209.85.215.47]:36072 "EHLO mail-lf0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933972AbcIOKne (ORCPT ); Thu, 15 Sep 2016 06:43:34 -0400 Received: by mail-lf0-f47.google.com with SMTP id g62so29841557lfe.3 for ; Thu, 15 Sep 2016 03:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SUV8se88UPIr1y6qGaq3mwbWSq1DHsJaEyYzYJNjETg=; b=P3Ubs7hW844mmDXewQh+q4UmTWhd8Is/63XCOZC3dV0ERU0hH3dhrZKT7y53EcnzP2 yP8l4K7gYkK5ThMADHfViX7xQYg5Jp2L1E0TshQOH2PnPONTuOMOsa8pp5CwsN2JGqSQ Ke2l+UMe7jWViZu9qvXcgagZsPkeWpAlCiPs8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SUV8se88UPIr1y6qGaq3mwbWSq1DHsJaEyYzYJNjETg=; b=Owyqaebo0G+wSC0k0WZxgziOpXCmdyV/q4tE5IEYB4lLEVi2uoCSK+cOgQ4wUSINjz m2QIYb5z9naDL6ZzCfHYA9uzzG5DBRpqyswrgkotNNXXeQOLMYbVMUqbm+ubUPVJ/vI9 Udx9AaJYXDfzLFUaCsdplUgTEgI4W7CxjfbxmvGaTZhsBbUzkb00R77RHQbCyO84L/FY EsY0obH+VYWQVTtB7bXUtYuVOUqcylaJ3ksZplWaw0T/ZP2saFwYSh+nhCGqiTAa8jmg rv0X0/ZOAyWDBomUZfouCtMGqtAMINx9TIuqGaERB4PJ8aY3UoYodwsBHGU2RsK3jUbI TqHg== X-Gm-Message-State: AE9vXwO20EHFHeYNtjL9RHZIUgDNZzbIzvjv/3qrBHrjXVpypjrlcrc9g4pbEd5kdUVavdBN X-Received: by 10.194.234.69 with SMTP id uc5mr8186732wjc.76.1473936210610; Thu, 15 Sep 2016 03:43:30 -0700 (PDT) Received: from dell.home (host31-51-85-248.range31-51.btcentralplus.com. [31.51.85.248]) by smtp.gmail.com with ESMTPSA id e2sm2861231wjn.11.2016.09.15.03.43.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Sep 2016 03:43:30 -0700 (PDT) From: Lee Jones To: linus.walleij@linaro.org, tony@atomide.com, linux-omap@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 7/7] mfd: cros_ec_spi: Remove unused variable 'request' Date: Thu, 15 Sep 2016 11:45:21 +0100 Message-Id: <20160915104521.14286-8-lee.jones@linaro.org> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160915104521.14286-1-lee.jones@linaro.org> References: <20160915104521.14286-1-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Lee Jones --- drivers/mfd/cros_ec_spi.c | 2 -- 1 file changed, 2 deletions(-) -- 2.9.3 diff --git a/drivers/mfd/cros_ec_spi.c b/drivers/mfd/cros_ec_spi.c index ebe9b94..a518832 100644 --- a/drivers/mfd/cros_ec_spi.c +++ b/drivers/mfd/cros_ec_spi.c @@ -366,7 +366,6 @@ static int cros_ec_spi_receive_response(struct cros_ec_device *ec_dev, static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, struct cros_ec_command *ec_msg) { - struct ec_host_request *request; struct ec_host_response *response; struct cros_ec_spi *ec_spi = ec_dev->priv; struct spi_transfer trans, trans_delay; @@ -378,7 +377,6 @@ static int cros_ec_pkt_xfer_spi(struct cros_ec_device *ec_dev, int ret = 0, final_ret; len = cros_ec_prepare_tx(ec_dev, ec_msg); - request = (struct ec_host_request *)ec_dev->dout; dev_dbg(ec_dev->dev, "prepared, len=%d\n", len); /* If it's too soon to do another transaction, wait */