Skip to content

Commit

Permalink
*: mass cosmetic removal of extra empty lines. no code changes
Browse files Browse the repository at this point in the history
Signed-off-by: Denys Vlasenko <[email protected]>
  • Loading branch information
Denys Vlasenko committed Jul 25, 2010
1 parent ccb9771 commit f3ea792
Show file tree
Hide file tree
Showing 53 changed files with 13 additions and 111 deletions.
1 change: 0 additions & 1 deletion archival/bz/compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ void generateMTFValues(EState* s)
wr++;
s->mtfFreq[j+1]++;
}

}
}

Expand Down
1 change: 0 additions & 1 deletion archival/unzip.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ int unzip_main(int argc, char **argv)

default:
bb_show_usage();

}
break;

Expand Down
1 change: 0 additions & 1 deletion coreutils/cut.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ static int cmpfunc(const void *a, const void *b)
{
return (((struct cut_list *) a)->startpos -
((struct cut_list *) b)->startpos);

}

static void cut_file(FILE *file, char delim, const struct cut_list *cut_lists, unsigned nlists)
Expand Down
1 change: 0 additions & 1 deletion coreutils/expr.c
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ static VALUE *eval6(void)
freev(i2);
}
return v;

}

/* Handle : operator (pattern matching).
Expand Down
2 changes: 0 additions & 2 deletions coreutils/ls.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@


enum {

TERMINAL_WIDTH = 80, /* use 79 if terminal has linefold bug */
COLUMN_GAP = 2, /* includes the file type char */

Expand Down Expand Up @@ -120,7 +119,6 @@ LIST_LONG = LIST_MODEBITS | LIST_NLINKS | LIST_ID_NAME | LIST_SIZE | \
SPLIT_DIR = 1,
SPLIT_FILE = 0,
SPLIT_SUBDIR = 2,

};

/* "[-]Cadil1", POSIX mandated options, busybox always supports */
Expand Down
34 changes: 11 additions & 23 deletions e2fsprogs/old_e2fsprogs/e2fsck.c
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@ static void dict_insert(dict_t *dict, dnode_t *node, const void *key)
}

dict_root(dict)->color = dnode_black;

}

/*
Expand Down Expand Up @@ -801,7 +800,6 @@ static void e2fsck_add_dx_dir(e2fsck_t ctx, ext2_ino_t ino, int num_blocks)
dir->dx_block = e2fsck_allocate_memory(ctx, num_blocks
* sizeof (struct dx_dirblock_info),
"dx_block info array");

}

/*
Expand Down Expand Up @@ -1724,7 +1722,6 @@ static errcode_t e2fsck_get_journal(e2fsck_t ctx, journal_t **ret_journal)
ext2fs_free_mem(&j_inode);
ext2fs_free_mem(&journal);
return retval;

}

static errcode_t e2fsck_journal_fix_bad_inode(e2fsck_t ctx,
Expand Down Expand Up @@ -3375,7 +3372,6 @@ static void e2fsck_pass1(e2fsck_t ctx)
e2fsck_write_inode(ctx, ino, inode,
"pass1");
}

}
/*
* If dtime is set, offer to clear it. mke2fs
Expand Down Expand Up @@ -3678,7 +3674,6 @@ static void e2fsck_pass1(e2fsck_t ctx)

ext2fs_free_mem(&block_buf);
ext2fs_free_mem(&inode);

}

/*
Expand Down Expand Up @@ -4451,8 +4446,7 @@ static void mark_table_blocks(e2fsck_t ctx)
ctx->invalid_bitmaps++;
}
} else {
ext2fs_mark_block_bitmap(ctx->block_found_map,
b);
ext2fs_mark_block_bitmap(ctx->block_found_map, b);
}
}
}
Expand All @@ -4469,10 +4463,9 @@ static void mark_table_blocks(e2fsck_t ctx)
ctx->invalid_bitmaps++;
}
} else {
ext2fs_mark_block_bitmap(ctx->block_found_map,
fs->group_desc[i].bg_block_bitmap);
}

ext2fs_mark_block_bitmap(ctx->block_found_map,
fs->group_desc[i].bg_block_bitmap);
}
}
/*
* Mark block used for the inode bitmap
Expand All @@ -4486,8 +4479,8 @@ static void mark_table_blocks(e2fsck_t ctx)
ctx->invalid_bitmaps++;
}
} else {
ext2fs_mark_block_bitmap(ctx->block_found_map,
fs->group_desc[i].bg_inode_bitmap);
ext2fs_mark_block_bitmap(ctx->block_found_map,
fs->group_desc[i].bg_inode_bitmap);
}
}
block += fs->super->s_blocks_per_group;
Expand Down Expand Up @@ -5588,7 +5581,6 @@ static void e2fsck_pass2(e2fsck_t ctx)
ext2fs_mark_super_dirty(fs);
}
}

}

#define MAX_DEPTH 32000
Expand Down Expand Up @@ -9748,7 +9740,6 @@ int fix_problem(e2fsck_t ctx, problem_t code, struct problem_context *pctx)
if (print_answer)
printf("%s.\n", answer ?
_(preen_msg[(int) ptr->prompt]) : _("IGNORED"));

}

if ((ptr->prompt == PROMPT_ABORT) && answer)
Expand Down Expand Up @@ -11324,7 +11315,7 @@ static int release_inode_block(ext2_filsys fs, blk_t *block_nr,
if ((blk < fs->super->s_first_data_block) ||
(blk >= fs->super->s_blocks_count)) {
fix_problem(ctx, PR_0_ORPHAN_ILLEGAL_BLOCK_NUM, pctx);
return_abort:
return_abort:
pb->abort = 1;
return BLOCK_ABORT;
}
Expand Down Expand Up @@ -11537,7 +11528,7 @@ static int release_orphan_inodes(e2fsck_t ctx)
}
ext2fs_free_mem(&block_buf);
return 0;
return_abort:
return_abort:
ext2fs_free_mem(&block_buf);
return 1;
}
Expand Down Expand Up @@ -11618,7 +11609,7 @@ static void check_resize_inode(e2fsck_t ctx)
!(inode.i_mode & LINUX_S_IFREG) ||
(blk < fs->super->s_first_data_block ||
blk >= fs->super->s_blocks_count)) {
resize_inode_invalid:
resize_inode_invalid:
if (fix_problem(ctx, PR_0_RESIZE_INODE_INVALID, &pctx)) {
memset(&inode, 0, sizeof(inode));
e2fsck_write_inode(ctx, EXT2_RESIZE_INO, &inode,
Expand Down Expand Up @@ -11660,10 +11651,9 @@ static void check_resize_inode(e2fsck_t ctx)
}
}

cleanup:
cleanup:
ext2fs_free_mem(&dind_buf);

}
}

static void check_super_block(e2fsck_t ctx)
{
Expand Down Expand Up @@ -11842,7 +11832,6 @@ static void check_super_block(e2fsck_t ctx)
(gd->bg_free_inodes_count > sb->s_inodes_per_group) ||
(gd->bg_used_dirs_count > sb->s_inodes_per_group))
ext2fs_unmark_valid(fs);

}

/*
Expand Down Expand Up @@ -11902,7 +11891,6 @@ static void check_super_block(e2fsck_t ctx)
fs->super->s_feature_incompat &=
~EXT2_FEATURE_INCOMPAT_FILETYPE;
ext2fs_mark_super_dirty(fs);

}
}

Expand Down
1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,4 +171,3 @@ errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start, blk_t finish,
} while (b != finish);
return EXT2_ET_BLOCK_ALLOC_FAIL;
}

4 changes: 0 additions & 4 deletions e2fsprogs/old_e2fsprogs/ext2fs/alloc_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,9 @@ errcode_t ext2fs_allocate_group_table(ext2_filsys fs, dgrp_t group,
fs->group_desc[group].bg_inode_table = new_blk;
}


return 0;
}



errcode_t ext2fs_allocate_tables(ext2_filsys fs)
{
errcode_t retval;
Expand All @@ -115,4 +112,3 @@ errcode_t ext2fs_allocate_tables(ext2_filsys fs)
}
return 0;
}

6 changes: 0 additions & 6 deletions e2fsprogs/old_e2fsprogs/ext2fs/bb_inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,3 @@ static int set_bad_block_proc(ext2_filsys fs, blk_t *block_nr,
*block_nr = blk;
return BLOCK_CHANGED;
}






1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/bitops.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,3 @@ void ext2fs_warn_bitmap2(ext2fs_generic_bitmap bitmap,
bb_error_msg("#%lu", arg);
#endif
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/block.c
Original file line number Diff line number Diff line change
Expand Up @@ -435,4 +435,3 @@ errcode_t ext2fs_block_iterate(ext2_filsys fs,
return ext2fs_block_iterate2(fs, ino, BLOCK_FLAG_NO_LARGE | flags,
block_buf, xlate_func, &xl);
}

3 changes: 0 additions & 3 deletions e2fsprogs/old_e2fsprogs/ext2fs/bmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,3 @@ errcode_t ext2fs_bmap(ext2_filsys fs, ext2_ino_t ino, struct ext2_inode *inode,
}
return retval;
}



1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/bmove.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,3 @@ errcode_t ext2fs_move_blocks(ext2_filsys fs,
}
return 0;
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/brel.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,3 @@ errcode_t ext2fs_brel_memarray_create(char *name, blk_t max_block,
#define ext2fs_brel_move(brel, old, new) ((brel)->move((brel), old, new))
#define ext2fs_brel_delete(brel, old) ((brel)->delete((brel), old))
#define ext2fs_brel_free(brel) ((brel)->free((brel)))

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/closefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,4 +378,3 @@ errcode_t ext2fs_close(ext2_filsys fs)
ext2fs_free(fs);
return 0;
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/cmp_bitmaps.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,3 @@ errcode_t ext2fs_compare_inode_bitmap(ext2fs_inode_bitmap bm1,

return 0;
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/dir_iterate.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,3 @@ int ext2fs_process_dir_block(ext2_filsys fs,
return BLOCK_ABORT;
return 0;
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/dirblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block,
{
return ext2fs_write_dir_block2(fs, block, inbuf, 0);
}

2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/dupfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,4 @@ errcode_t ext2fs_dup_handle(ext2_filsys src, ext2_filsys *dest)
errout:
ext2fs_free(fs);
return retval;

}

13 changes: 0 additions & 13 deletions e2fsprogs/old_e2fsprogs/ext2fs/e2image.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,3 @@ struct ext2_image_hdr {
__u32 offset_blockmap; /* Byte offset of the inode bitmaps */
__u32 offset_reserved[8];
};













1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/ext2_ext_attr.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ struct ext2_ext_attr_entry {
sizeof(struct ext2_xattr_entry)) & ~EXT2_EXT_ATTR_ROUND)
#define EXT2_XATTR_SIZE(size) \
(((size) + EXT2_EXT_ATTR_ROUND) & ~EXT2_EXT_ATTR_ROUND)

2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/ext2fsP.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,3 @@ extern int ext2fs_process_dir_block(ext2_filsys fs,
blk_t ref_block,
int ref_offset,
void *priv_data);


1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/freefs.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,3 @@ void ext2fs_free_dblist(ext2_dblist dblist)
dblist->magic = 0;
ext2fs_free_mem(&dblist);
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/get_pathname.c
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,4 @@ errcode_t ext2fs_get_pathname(ext2_filsys fs, ext2_ino_t dir, ext2_ino_t ino,
retval = ext2fs_get_pathname_int(fs, dir, ino, 32, buf, name);
ext2fs_free_mem(&buf);
return retval;

}
2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/ind_block.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,3 @@ errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf)
#endif
return io_channel_write_blk(fs->io, blk, 1, buf);
}


1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/inline.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@
#include "ext2_fs.h"
#define INCLUDE_INLINE_FUNCS
#include "ext2fs.h"

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -764,4 +764,3 @@ errcode_t ext2fs_check_directory(ext2_filsys fs, ext2_ino_t ino)
return EXT2_ET_NO_DIRECTORY;
return 0;
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/inode_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -268,4 +268,3 @@ static errcode_t inode_flush(io_channel channel)

return ext2fs_file_flush(data->file);
}

2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/jfs_dat.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,4 @@ typedef struct journal_superblock_s
/* Dynamic information describing the current state of the log */
__u32 s_sequence; /* first commit ID expected in log */
__u32 s_start; /* blocknr of start of log */

} journal_superblock_t;

2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/lookup.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ errcode_t ext2fs_lookup(ext2_filsys fs, ext2_ino_t dir, const char *name,

return (ls.found) ? 0 : EXT2_ET_FILE_NOT_FOUND;
}


3 changes: 0 additions & 3 deletions e2fsprogs/old_e2fsprogs/ext2fs/mkdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,4 @@ errcode_t ext2fs_mkdir(ext2_filsys fs, ext2_ino_t parent, ext2_ino_t inum,
cleanup:
ext2fs_free_mem(&block);
return retval;

}


2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/mkjournal.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,6 @@ static int mkjournal_proc(ext2_filsys fs,
return (BLOCK_CHANGED | BLOCK_ABORT);
else
return BLOCK_CHANGED;

}

/*
Expand Down Expand Up @@ -423,6 +422,5 @@ main(int argc, char **argv)
}
ext2fs_close(fs);
exit(0);

}
#endif
1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,3 @@ errcode_t ext2fs_follow_link(ext2_filsys fs, ext2_ino_t root, ext2_ino_t cwd,
ext2fs_free_mem(&buf);
return retval;
}

1 change: 0 additions & 1 deletion e2fsprogs/old_e2fsprogs/ext2fs/newdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ errcode_t ext2fs_new_dir_block(ext2_filsys fs, ext2_ino_t dir_ino,
dir->name_len = 2 | filetype;
dir->name[0] = '.';
dir->name[1] = '.';

}
*block = buf;
return 0;
Expand Down
2 changes: 0 additions & 2 deletions e2fsprogs/old_e2fsprogs/ext2fs/read_bb.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,3 @@ errcode_t ext2fs_read_bb_inode(ext2_filsys fs, ext2_badblocks_list *bb_list)

return rb.err;
}


Loading

0 comments on commit f3ea792

Please sign in to comment.