*: more empty lines removed. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f3ea792bad
commit
0f8960542f
@ -675,7 +675,6 @@ static int min_gain(unsigned ahead, unsigned lit1,
|
|||||||
static void better_match(const lzo_swd_p swd,
|
static void better_match(const lzo_swd_p swd,
|
||||||
unsigned *m_len, unsigned *m_off)
|
unsigned *m_len, unsigned *m_off)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (*m_len <= M2_MIN_LEN)
|
if (*m_len <= M2_MIN_LEN)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -266,7 +266,6 @@ errcode_t ext2fs_read_block_bitmap(ext2_filsys fs)
|
|||||||
|
|
||||||
errcode_t ext2fs_read_bitmaps(ext2_filsys fs)
|
errcode_t ext2fs_read_bitmaps(ext2_filsys fs)
|
||||||
{
|
{
|
||||||
|
|
||||||
EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
|
EXT2_CHECK_MAGIC(fs, EXT2_ET_MAGIC_EXT2FS_FILSYS);
|
||||||
|
|
||||||
if (fs->inode_map && fs->block_map)
|
if (fs->inode_map && fs->block_map)
|
||||||
|
@ -927,7 +927,6 @@ static void print_bytes_scaled(unsigned long long ull, const char *end)
|
|||||||
|
|
||||||
static void ife_print6(struct interface *ptr)
|
static void ife_print6(struct interface *ptr)
|
||||||
{
|
{
|
||||||
|
|
||||||
FILE *f;
|
FILE *f;
|
||||||
char addr6[40], devname[20];
|
char addr6[40], devname[20];
|
||||||
struct sockaddr_in6 sap;
|
struct sockaddr_in6 sap;
|
||||||
|
@ -2060,7 +2060,6 @@ int ntpd_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
static double
|
static double
|
||||||
direct_freq(double fp_offset)
|
direct_freq(double fp_offset)
|
||||||
{
|
{
|
||||||
|
|
||||||
#ifdef KERNEL_PLL
|
#ifdef KERNEL_PLL
|
||||||
/*
|
/*
|
||||||
* If the kernel is enabled, we need the residual offset to
|
* If the kernel is enabled, we need the residual offset to
|
||||||
|
7
scripts/find_stray_empty_lines
Executable file
7
scripts/find_stray_empty_lines
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
grep -n -B1 -r $'^\t*}$' . | grep -A1 '.[ch]-[0-9]*-$'
|
||||||
|
grep -n -A1 -r $'^\t*{$' . | grep -B1 '.[ch]-[0-9]*-$'
|
||||||
|
# or (less surefire ones):
|
||||||
|
grep -n -B1 -r $'^\t*}' . | grep -A1 '.[ch]-[0-9]*-$'
|
||||||
|
grep -n -A1 -r $'^\t*{' . | grep -B1 '.[ch]-[0-9]*-$'
|
Loading…
Reference in New Issue
Block a user