From patchwork Thu Sep 15 15:43:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101781 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp20865qgf; Thu, 15 Sep 2016 08:45:06 -0700 (PDT) X-Received: by 10.66.81.201 with SMTP id c9mr15578763pay.14.1473954306022; Thu, 15 Sep 2016 08:45:06 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ro8si4553782pab.207.2016.09.15.08.45.05; Thu, 15 Sep 2016 08:45:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mmc-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-mmc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-mmc-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753753AbcIOPpE (ORCPT + 3 others); Thu, 15 Sep 2016 11:45:04 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:54423 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752924AbcIOPpD (ORCPT ); Thu, 15 Sep 2016 11:45:03 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue001) with ESMTPA (Nemesis) id 0LrEdQ-1b1IvT0rbY-013AT1; Thu, 15 Sep 2016 17:43:51 +0200 From: Arnd Bergmann To: Ulf Hansson Cc: Arnd Bergmann , Carlo Caione , Kevin Hilman , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] MMC: meson: remove unused variable Date: Thu, 15 Sep 2016 17:43:35 +0200 Message-Id: <20160915154349.3005248-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:WqNbQUrAlBlLm/5cQZlvoSyuSOipFaf0hMtvtYqyFb4vRreBrGI Zd/9imawKbYRS4nz5wejrsjkSGexAQzKiIi5kgOaCgiBpWGn/00PcOlI0ODcJlr+GwmTOAc 3RsnLPefs6z19cBQo61l2KCjqXnW8Akdv7TjbGOWEuOkL/+8TrRGW+xY3s4kDNErmxW5HbB oDNOLU1JL5VahyCbaNP9g== X-UI-Out-Filterresults: notjunk:1; V01:K0:EEn8QaI2jA0=:1dJToYx4jTcLati8MiUixp Er1UxW9/gWfKTm3hqbauQb1SZ+p3ZMgheFwlepGRNMI8MeqAz1qtghnxRNqhAMsr9A/HGtF1J NQM/02SqqbZr+eWtZbHbqGC7JJopAUJA96AFFNiKWXP5L2ux0G41tk9MaLnCqr2EyofxRyP2A lsgKaybi4p3Xg5dOYNfb1t/Yyyd6aJjWKUGKWtugkd2p9fWwTvAXeoXc7oNlRQON6hznYio15 uk8gASrrLEWjMc/S1UetVm56xjA/ph/GOr+d8ZQoE4efslbKdttn54mvKkXj6AeAWYB+FjA8Q PWAAnIo/qrk7FI4B1xQb4QbNxdSZUZAG1ec66bnGBiCqsCKGDsD7FfEJvC9rUTSxelvxjecYx EkVVeKyiAjobeJmmCAgzH6stuAfnFZgxplZKdOmVauScIxk3D5idozV5grCuUe/d4fBQ5TQz4 SNPiB3jq7tNBBA2kxnB6NOIZEjjRULo5uPeom9d/RiEdHYRuh4ABMH+wzabyMmTwewKV2GxFA ndf2UBongbzStmJ/oJopUQpYc2IK8aspD4vYd4z1tY8qw7yZnzXzC5CqCpndnBjwkdf+T/OAr ysm/ASt7X4zAOuaa/sWypIsW9Vc/WrCprnvAxIZN9FRsb9DV5ltH3HSFFTnuJ0Gc0Q23AT8x0 cvkHIm5aX2C2kJfmWAbI43Vh9ubqaNyyerT/5d9z2GL8jOmh9toa04BKEmtaqIN1csZ0= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The newly added meson mmc driver causes a build warning from an unused variable: drivers/mmc/host/meson-gxbb.c: In function 'meson_mmc_request_done': drivers/mmc/host/meson-gxbb.c:411:22: error: unused variable 'cmd' [-Werror=unused-variable] This removes the variable. Signed-off-by: Arnd Bergmann Fixes: 4b331229dda9 ("MMC: meson: initial support for GXBB platforms") --- drivers/mmc/host/meson-gxbb.c | 1 - 1 file changed, 1 deletion(-) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mmc/host/meson-gxbb.c b/drivers/mmc/host/meson-gxbb.c index c73c62178764..193d343d0afe 100644 --- a/drivers/mmc/host/meson-gxbb.c +++ b/drivers/mmc/host/meson-gxbb.c @@ -408,7 +408,6 @@ static void meson_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) static int meson_mmc_request_done(struct mmc_host *mmc, struct mmc_request *mrq) { struct meson_host *host = mmc_priv(mmc); - struct mmc_command *cmd = host->cmd; WARN_ON(host->mrq != mrq);