kill superfluous returns at the end of void functions

This commit is contained in:
Denis Vlasenko
2007-03-11 13:43:10 +00:00
parent ecea8f201e
commit baca175912
18 changed files with 17 additions and 59 deletions

View File

@@ -131,7 +131,6 @@ set_pri:
pri = BLKID_PRI_MD;
if (dev)
dev->bid_pri = pri;
return;
}
#define PROC_PARTITIONS "/proc/partitions"

View File

@@ -122,7 +122,6 @@ static void scan_dir(char *dir_name, dev_t devno, struct dir_list **list,
}
}
closedir(dir);
return;
}
/* Directories where we will try to search for device numbers */

View File

@@ -410,7 +410,6 @@ void blkid_read_cache(blkid_cache cache)
return;
errout:
close(fd);
return;
}
#ifdef TEST_PROGRAM