From patchwork Wed Jan 7 05:35:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5582061 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D575F9F357 for ; Wed, 7 Jan 2015 05:38:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F04352012E for ; Wed, 7 Jan 2015 05:38:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2C56E20121 for ; Wed, 7 Jan 2015 05:38:24 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8jI9-0006Ii-U4; Wed, 07 Jan 2015 05:36:25 +0000 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y8jI6-0006A8-27 for linux-arm-kernel@lists.infradead.org; Wed, 07 Jan 2015 05:36:22 +0000 Received: by mail-pa0-f46.google.com with SMTP id lf10so2571864pab.5 for ; Tue, 06 Jan 2015 21:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=RhE7vCMAjn8cS5qsGAzBorYu27EcwgLQ8WcjjquaEJU=; b=LWIUUt3rHxBhM9stxKGs5wdUGJgwTjuPUeeoZl7e6FQxH6FRU1/y8d6aDE2ITNux/f SNm4EMEfZsZ6EWNpcaJKDGyYQ5YKoszNByeXwQraDX6Ln3BDH0KdtaphIX1gUoe0xGav WwRdWEnqxLTbLD5VDWdwcT7p+0u+7tr6HTebdALup2XOAKaqTyeFkPnZvyRA0FcYgbiW sm6FSpKEIB5pP5NHxBv8VCPLS4FYZXrSgt5DBF7MhwpfqEf0kAeO/6rHbxeslfz9jEUQ iou/I+WaNgkVcfjp6bbTIGi+sKlwibYfA/NcSfyiIC4t+9tXyKjLAxqaEW6jva4aFM6B rimQ== X-Received: by 10.66.226.167 with SMTP id rt7mr2165684pac.12.1420608961252; Tue, 06 Jan 2015 21:36:01 -0800 (PST) Received: from localhost.localdomain ([122.169.180.146]) by mx.google.com with ESMTPSA id pr3sm547920pbb.37.2015.01.06.21.35.57 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Jan 2015 21:36:00 -0800 (PST) From: Sudip Mukherjee To: Tony Prisk , Jean-Christophe Plagniol-Villard , Tomi Valkeinen Subject: [PATCH v2] video: vt8500lcdfb: remove unneeded continue Date: Wed, 7 Jan 2015 11:05:48 +0530 Message-Id: <1420608948-4550-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150106_213622_176210_6D7E4356 X-CRM114-Status: GOOD ( 10.85 ) X-Spam-Score: -0.8 (/) Cc: linux-fbdev@vger.kernel.org, Sergei Shtylyov , Sudip Mukherjee , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP continue is not needed at the end of a for loop, also removed the braces which were no longer required. Signed-off-by: Sudip Mukherjee --- v2: removed braces drivers/video/fbdev/vt8500lcdfb.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/video/fbdev/vt8500lcdfb.c b/drivers/video/fbdev/vt8500lcdfb.c index ffaf29e..1a1176b 100644 --- a/drivers/video/fbdev/vt8500lcdfb.c +++ b/drivers/video/fbdev/vt8500lcdfb.c @@ -113,10 +113,8 @@ static int vt8500lcd_set_par(struct fb_info *info) } for (i = 0; i < 8; i++) { - if (bpp_values[i] == info->var.bits_per_pixel) { + if (bpp_values[i] == info->var.bits_per_pixel) reg_bpp = i; - continue; - } } control0 = readl(fbi->regbase) & ~0xf;