From patchwork Mon Sep 5 19:51:33 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfgang Denk X-Patchwork-Id: 113436 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 70413B6F7C for ; Tue, 6 Sep 2011 05:51:49 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2D34128082; Mon, 5 Sep 2011 21:51:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NOlve-l7pqI1; Mon, 5 Sep 2011 21:51:48 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EA0DF28090; Mon, 5 Sep 2011 21:51:45 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 94A0D28090 for ; Mon, 5 Sep 2011 21:51:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KrTnfgSKArmj for ; Mon, 5 Sep 2011 21:51:38 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by theia.denx.de (Postfix) with ESMTP id AF29628082 for ; Mon, 5 Sep 2011 21:51:37 +0200 (CEST) Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 2ECD81C021C9; Mon, 5 Sep 2011 21:51:37 +0200 (CEST) X-Auth-Info: WL5LcpfmPBh1fWlXbr+uBMTH+mr6oHk/vvWVa5NixDM= Received: from diddl.denx.de (host-80-81-18-216.customer.m-online.net [80.81.18.216]) by smtp-auth.mnet-online.de (Postfix) with ESMTPA id 287541C0018A; Mon, 5 Sep 2011 21:51:37 +0200 (CEST) Received: from gemini.denx.de (gemini.denx.de [10.0.0.2]) by diddl.denx.de (Postfix) with ESMTP id 0641DC72F60D; Mon, 5 Sep 2011 21:51:37 +0200 (CEST) Received: by gemini.denx.de (Postfix, from userid 500) id D729D158D116; Mon, 5 Sep 2011 21:51:36 +0200 (CEST) From: Wolfgang Denk To: u-boot@lists.denx.de Date: Mon, 5 Sep 2011 21:51:33 +0200 Message-Id: <1315252293-5648-1-git-send-email-wd@denx.de> X-Mailer: git-send-email 1.7.6 Subject: [U-Boot] [PATCH] VIDEO: mb86r0xgdc.c: fix warning: unused variable 'i' X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de Fix build warning: Configuring for jadecpu board... mb86r0xgdc.c: In function 'dsp_init': mb86r0xgdc.c:60: warning: unused variable 'i' Signed-off-by: Wolfgang Denk Cc: Anatolij Gustschin --- drivers/video/mb86r0xgdc.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/video/mb86r0xgdc.c b/drivers/video/mb86r0xgdc.c index 5425c9d..345a73b 100644 --- a/drivers/video/mb86r0xgdc.c +++ b/drivers/video/mb86r0xgdc.c @@ -57,7 +57,6 @@ static void dsp_init(struct mb86r0x_gdc_dsp *dsp, char *modestr, u16 l2dx, l2dy, l2wx, l2wy, l2ww, l2wh; unsigned long div; int bpp; - u32 i; bpp = video_get_params(&var_mode, modestr);