Commit 5b489e2f authored by Valentin Vidic's avatar Valentin Vidic Committed by Greg Kroah-Hartman

staging: exfat: cleanup blank line warnings

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: default avatarValentin Vidic <vvidic@valentin-vidic.from.hr>
Link: https://lore.kernel.org/r/20190902190329.18685-1-vvidic@valentin-vidic.from.hrSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 544b3e7f
...@@ -170,6 +170,7 @@ static inline u16 get_col_index(u16 i) ...@@ -170,6 +170,7 @@ static inline u16 get_col_index(u16 i)
{ {
return i >> LOW_INDEX_BIT; return i >> LOW_INDEX_BIT;
} }
static inline u16 get_row_index(u16 i) static inline u16 get_row_index(u16 i)
{ {
return i & ~HIGH_INDEX_MASK; return i & ~HIGH_INDEX_MASK;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include "exfat.h" #include "exfat.h"
static void __set_sb_dirty(struct super_block *sb) static void __set_sb_dirty(struct super_block *sb)
{ {
struct exfat_sb_info *sbi = EXFAT_SB(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, ...@@ -1711,7 +1710,6 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb,
if (ret != FFS_SUCCESS) if (ret != FFS_SUCCESS)
return NULL; return NULL;
/* byte offset in cluster */ /* byte offset in cluster */
byte_offset &= p_fs->cluster_size - 1; 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, ...@@ -1726,7 +1724,6 @@ struct entry_set_cache_t *get_entry_set_in_dir(struct super_block *sb,
if (buf == NULL) if (buf == NULL)
goto err_out; goto err_out;
ep = (struct dentry_t *)(buf + off); ep = (struct dentry_t *)(buf + off);
entry_type = p_fs->fs_func->get_entry_type(ep); entry_type = p_fs->fs_func->get_entry_type(ep);
...@@ -1853,7 +1850,6 @@ void release_entry_set(struct entry_set_cache_t *es) ...@@ -1853,7 +1850,6 @@ void release_entry_set(struct entry_set_cache_t *es)
kfree(es); kfree(es);
} }
static s32 __write_partial_entries_in_entry_set(struct super_block *sb, static s32 __write_partial_entries_in_entry_set(struct super_block *sb,
struct entry_set_cache_t *es, struct entry_set_cache_t *es,
sector_t sec, s32 off, u32 count) sector_t sec, s32 off, u32 count)
......
...@@ -3017,7 +3017,6 @@ static void exfat_truncate(struct inode *inode, loff_t old_size) ...@@ -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) static int exfat_setattr(struct dentry *dentry, struct iattr *attr)
{ {
struct exfat_sb_info *sbi = EXFAT_SB(dentry->d_sb); struct exfat_sb_info *sbi = EXFAT_SB(dentry->d_sb);
struct inode *inode = dentry->d_inode; struct inode *inode = dentry->d_inode;
unsigned int ia_valid; unsigned int ia_valid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment