[klibc] fstpye: no need for braces around return values
Signed-off-by: maximilian attems <max@stro.at>
diff --git a/usr/kinit/fstype/fstype.c b/usr/kinit/fstype/fstype.c
index 451d60c..9f0f931 100644
--- a/usr/kinit/fstype/fstype.c
+++ b/usr/kinit/fstype/fstype.c
@@ -124,7 +124,7 @@
f = fopen("/proc/filesystems", "r");
if (!f)
- return (0);
+ return 0;
while (fgets(buf, sizeof(buf), f)) {
cp = buf;
if (!isspace(*cp)) {
@@ -141,11 +141,11 @@
*t = 0;
if (!strcmp(fs_name, cp)) {
fclose(f);
- return (1);
+ return 1;
}
}
fclose(f);
- return (0);
+ return 0;
}
/*
@@ -160,12 +160,12 @@
int i;
if (uname(&uts))
- return (0);
+ return 0;
snprintf(buf, sizeof(buf), "/lib/modules/%s/modules.dep", uts.release);
f = fopen(buf, "r");
if (!f)
- return (0);
+ return 0;
while (fgets(buf, sizeof(buf), f)) {
if ((cp = strchr(buf, ':')) != NULL)
*cp = 0;
@@ -181,11 +181,11 @@
}
if (!strcmp(cp, fs_name)) {
fclose(f);
- return (1);
+ return 1;
}
}
fclose(f);
- return (0);
+ return 0;
}
static int base_ext4_image(const void *buf, unsigned long long *bytes,