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: 9334101 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 761DE607FD for ; Thu, 15 Sep 2016 15:45:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FD30296AC for ; Thu, 15 Sep 2016 15:45:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5277629773; Thu, 15 Sep 2016 15:45:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D81ED296AC for ; Thu, 15 Sep 2016 15:45:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753753AbcIOPpE (ORCPT ); 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 X-Virus-Scanned: ClamAV using ClamSMTP 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(-) 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);