From 7dec35d7cc64d98d3e4583d612f76f8fd5b536e1 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Thu, 26 Nov 2015 17:46:26 +0200 Subject: [PATCH] unix/modos: Remove duplicate level of #if MICROPY_PY_OS_STATVFS. --- unix/modos.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/unix/modos.c b/unix/modos.c index b4af796123..1f4fde3b6a 100644 --- a/unix/modos.c +++ b/unix/modos.c @@ -70,7 +70,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mod_os_stat_obj, mod_os_stat); #if MICROPY_PY_OS_STATVFS -#if MICROPY_PY_OS_STATVFS #if USE_STATFS #include #define STRUCT_STATVFS struct statfs @@ -86,7 +85,6 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(mod_os_stat_obj, mod_os_stat); #define F_NAMEMAX sb.f_namemax #define F_FLAG sb.f_flag #endif -#endif STATIC mp_obj_t mod_os_statvfs(mp_obj_t path_in) { STRUCT_STATVFS sb;