From patchwork Mon Jan 19 08:11:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 5655401 Return-Path: X-Original-To: patchwork-linux-fbdev@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 52DBE9F444 for ; Mon, 19 Jan 2015 08:12:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7E5F520120 for ; Mon, 19 Jan 2015 08:12:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ABB9B20353 for ; Mon, 19 Jan 2015 08:12:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799AbbASILi (ORCPT ); Mon, 19 Jan 2015 03:11:38 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:55284 "EHLO mail-pa0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751479AbbASILh (ORCPT ); Mon, 19 Jan 2015 03:11:37 -0500 Received: by mail-pa0-f47.google.com with SMTP id kq14so37323591pab.6; Mon, 19 Jan 2015 00:11:36 -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:in-reply-to:references; bh=/pSI5Be6IS7UKsu2m3Bs8pKn+QCRSvlwwrtOfzieWX4=; b=fvUw7ARJNPesMDBTKqJGl1d8AkFiOs38XV7yAInnCRQE5NfXcoxw98lHULDdElEpQc r/crzaRIGBHQ4Oj76QG3AplrJELDIIv6bd8Zpc79GAZa9tfihBRpA8QD7itW+gQbQkYo DOmaMtPuafC3GmoXaVNfSyPp2VDwaP3UuR0LqTrG4lTKE7J1vBkDjBwV8gSKpe+3fHEI Kmz8KHRvxJ/F+ISeNzTosOSc4uXdufQWw16yXijwRSrc8doTD2k17I4KnCMBrPQ+Zc/Z DW7PIVkKsAkIUqsSwzwcbQejfMe3BPkmijEUMn9iu9z+pVkO4ItvJavA0uznpqU/0X2P ziYA== X-Received: by 10.70.133.98 with SMTP id pb2mr41614231pdb.137.1421655096809; Mon, 19 Jan 2015 00:11:36 -0800 (PST) Received: from localhost.localdomain ([122.169.178.33]) by mx.google.com with ESMTPSA id l4sm10897280pdj.47.2015.01.19.00.11.33 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 19 Jan 2015 00:11:36 -0800 (PST) From: Sudip Mukherjee To: Greg Kroah-Hartman Cc: Sudip Mukherjee , Teddy Wang , linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org Subject: [PATCH v2 6/7] staging: sm7xxfb: remove unnecessary blank lines Date: Mon, 19 Jan 2015 13:41:05 +0530 Message-Id: <1421655067-7490-6-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1421655067-7490-1-git-send-email-sudipm.mukherjee@gmail.com> References: <1421655067-7490-1-git-send-email-sudipm.mukherjee@gmail.com> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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 checkpatch cleanup: blank lines are not necessary before closing brace and after opening brace. Signed-off-by: Sudip Mukherjee --- these are actually two different checkpatch warning, but am sending them together as they are of similar type. drivers/staging/sm7xxfb/sm7xxfb.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/sm7xxfb/sm7xxfb.c b/drivers/staging/sm7xxfb/sm7xxfb.c index 6f0469a..097747c 100644 --- a/drivers/staging/sm7xxfb/sm7xxfb.c +++ b/drivers/staging/sm7xxfb/sm7xxfb.c @@ -298,7 +298,6 @@ static int smtc_setcolreg(unsigned regno, unsigned red, unsigned green, } return 0; - } #ifdef __BIG_ENDIAN @@ -482,7 +481,6 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) VGAMode[j].mmSizeY == sfb->height && VGAMode[j].bpp == sfb->fb.var.bits_per_pixel && VGAMode[j].hz == sfb->hz) { - dev_dbg(&sfb->pdev->dev, "VGAMode[j].mmSizeX=%d VGAMode[j].mmSizeY=%d VGAMode[j].bpp=%d VGAMode[j].hz=%d\n", VGAMode[j].mmSizeX, VGAMode[j].mmSizeY, @@ -571,7 +569,6 @@ static void sm7xx_set_timing(struct smtcfb_info *sfb) } writel((u32) (((m_nScreenStride + 2) << 16) | m_nScreenStride), sfb->vp_regs + 0x10); - } static void smtc_set_timing(struct smtcfb_info *sfb) @@ -725,7 +722,6 @@ static void smtc_unmap_mmio(struct smtcfb_info *sfb) static int smtc_map_smem(struct smtcfb_info *sfb, struct pci_dev *pdev, u_long smem_len) { - sfb->fb.fix.smem_start = pci_resource_start(pdev, 0); #ifdef __BIG_ENDIAN