Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp969484ybe; Mon, 2 Sep 2019 12:05:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtE3MJHWUDH2Z7PFgBWZmWvlC06EP2+VLK/avrk0mrQXIGG5O6Yj7LT1c7ZiidsKJcPbHB X-Received: by 2002:a17:902:2f03:: with SMTP id s3mr19577719plb.333.1567451117482; Mon, 02 Sep 2019 12:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567451117; cv=none; d=google.com; s=arc-20160816; b=YiPI0LYX46lqIatlFX+5h3SFFOuBJI5h6flRm8xWxfdOt0e/sXdHEQwy2P9711/zua HQKv835YsUJp620q/p7/wZiOUYXSxfLPxY7yu2goOIg2QZUqkHd8QkNZVQmyLAytgZZY MduYwG77IU+WowehTh7wYfjZNGJkuKpuNm7SOoFhc29+SSEzuLVqSdjt7o3Ocd9RSQJz dt/xqzdtUgWLYhtxC44Cpwg1jDpTXHJcrE9ROmB1ZURA4clodSPGzp1rckcJMOAH/k9c t1IpZoU9j19KtAu32vQVU9LPJuZHgYPkQaPv7Nd7lWkixy6mOmIV1pO7IHvqM+QyeDG9 0RQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=SPdZyCrTHITbtZY6gbd/ikN+pOLWCsYXPp5HYA1SgeI=; b=o0Mo6VO80ulQYCH6NDAcj/U4JkN10xhvqlNx7N/XsNeyfQSj/a+2zAiGWntWoj9ZkY 2H3YMx/lnX6I+WtpJe6F6/kvpPzxl+ZbKy0LlXIS53DV2Dopd+a4IusS9F6fNXBPG4up PFwYg4osZH1Ff9fjgnxAcKfuFPPv6COcVNNpk66xtij/L7RDngoOvRiFf37HpzDl3zUe oSFcaMxVhNlKUFawkMll+IsJ1lQaRrk0htRtZpOffMMzOfel0pElWyy7eZZbNP9HL33W py4Zg+AVcbkeoNc7z02Z2i6AcJQxiaYWVzweVnY/8zF0vERRPw+FCdtyWF02+fpxnUeC GnRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cp3si12698337plb.390.2019.09.02.12.05.01; Mon, 02 Sep 2019 12:05:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbfIBTDx (ORCPT + 99 others); Mon, 2 Sep 2019 15:03:53 -0400 Received: from valentin-vidic.from.hr ([94.229.67.141]:56565 "EHLO valentin-vidic.from.hr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbfIBTDx (ORCPT ); Mon, 2 Sep 2019 15:03:53 -0400 X-Virus-Scanned: Debian amavisd-new at valentin-vidic.from.hr Received: by valentin-vidic.from.hr (Postfix, from userid 1000) id 65E2A3A32A; Mon, 2 Sep 2019 21:03:45 +0200 (CEST) From: Valentin Vidic To: Valdis Kletnieks Cc: Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Valentin Vidic Subject: [PATCH] staging: exfat: cleanup blank line warnings Date: Mon, 2 Sep 2019 21:03:29 +0200 Message-Id: <20190902190329.18685-1-vvidic@valentin-vidic.from.hr> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes checkpatch.pl warnings: CHECK: Please don't use multiple blank lines CHECK: Blank lines aren't necessary after an open brace '{' CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Valentin Vidic --- drivers/staging/exfat/exfat.h | 1 + drivers/staging/exfat/exfat_core.c | 4 ---- drivers/staging/exfat/exfat_super.c | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/staging/exfat/exfat.h b/drivers/staging/exfat/exfat.h index bae180e10609..e41754bbdeab 100644 --- a/drivers/staging/exfat/exfat.h +++ b/drivers/staging/exfat/exfat.h @@ -170,6 +170,7 @@ static inline u16 get_col_index(u16 i) { return i >> LOW_INDEX_BIT; } + static inline u16 get_row_index(u16 i) { return i & ~HIGH_INDEX_MASK; diff --git a/drivers/staging/exfat/exfat_core.c b/drivers/staging/exfat/exfat_core.c index 9f76ca175c80..46b9f4455da1 100644 --- a/drivers/staging/exfat/exfat_core.c +++ b/drivers/staging/exfat/exfat_core.c @@ -11,7 +11,6 @@ #include #include "exfat.h" - static void __set_sb_dirty(struct super_block *sb) { struct exfat_sb_info *sbi = EXFAT_SB(sb); @@ -1711,7 +1710,6 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb, if (ret != FFS_SUCCESS) return NULL; - /* byte offset in cluster */ byte_offset &= p_fs->cluster_size - 1; @@ -1726,7 +1724,6 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb, if (buf == NULL) goto err_out; - ep = (struct dentry_t *)(buf + off); entry_type = p_fs->fs_func->get_entry_type(ep); @@ -1853,7 +1850,6 @@ void release_entry_set(struct entry_set_cache_t *es) kfree(es); } - static s32 __write_partial_entries_in_entry_set(struct super_block *sb, struct entry_set_cache_t *es, sector_t sec, s32 off, u32 count) diff --git a/drivers/staging/exfat/exfat_super.c b/drivers/staging/exfat/exfat_super.c index d9787635a373..15970b34e38f 100644 --- a/drivers/staging/exfat/exfat_super.c +++ b/drivers/staging/exfat/exfat_super.c @@ -3017,7 +3017,6 @@ static void exfat_truncate(struct inode *inode, loff_t old_size) static int exfat_setattr(struct dentry *dentry, struct iattr *attr) { - struct exfat_sb_info *sbi = EXFAT_SB(dentry->d_sb); struct inode *inode = dentry->d_inode; unsigned int ia_valid; -- 2.20.1