sched: Remove the condition guard from environ macro

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-12-19 17:24:25 +08:00 committed by Gustavo Henrique Nihei
parent 965f7641fd
commit a698100de3

View File

@ -62,9 +62,7 @@
* function call. However, get_environ_ptr() can be used in its place. * function call. However, get_environ_ptr() can be used in its place.
*/ */
#ifndef CONFIG_DISABLE_ENVIRON #define environ get_environ_ptr()
# define environ get_environ_ptr()
#endif
#if defined(CONFIG_FS_LARGEFILE) && defined(CONFIG_HAVE_LONG_LONG) #if defined(CONFIG_FS_LARGEFILE) && defined(CONFIG_HAVE_LONG_LONG)
# define mkstemp64 mkstemp # define mkstemp64 mkstemp