Skip to content

Commit 7dec35d

Browse files
committed
unix/modos: Remove duplicate level of #if MICROPY_PY_OS_STATVFS.
1 parent 364bb61 commit 7dec35d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

unix/modos.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mod_os_stat_obj, mod_os_stat);
7070

7171
#if MICROPY_PY_OS_STATVFS
7272

73-
#if MICROPY_PY_OS_STATVFS
7473
#if USE_STATFS
7574
#include <sys/vfs.h>
7675
#define STRUCT_STATVFS struct statfs
@@ -86,7 +85,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mod_os_stat_obj, mod_os_stat);
8685
#define F_NAMEMAX sb.f_namemax
8786
#define F_FLAG sb.f_flag
8887
#endif
89-
#endif
9088

9189
STATIC mp_obj_t mod_os_statvfs(mp_obj_t path_in) {
9290
STRUCT_STATVFS sb;

0 commit comments

Comments
 (0)