From b8faf0cba87f90126e591d354945c79e7e7e3c6e Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Wed, 20 Apr 2016 11:39:15 -0700 Subject: [PATCH] Disable efi_debug in --enable-debug builds Disable the additional EFI debugging in all builds. Some users run debug builds in production and the extra log messages can cause confusion. Beyond that the log messages are rarely useful. Signed-off-by: Brian Behlendorf Signed-off-by: Tony Hutter Closes #4523 --- lib/libefi/rdwr_efi.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/libefi/rdwr_efi.c b/lib/libefi/rdwr_efi.c index a914c0df08fd..67de216c03c3 100644 --- a/lib/libefi/rdwr_efi.c +++ b/lib/libefi/rdwr_efi.c @@ -171,11 +171,7 @@ struct dk_map2 default_vtoc_map[NDKMAP] = { #endif /* defined(_SUNOS_VTOC_16) */ }; -#ifdef DEBUG -int efi_debug = 1; -#else int efi_debug = 0; -#endif static int efi_read(int, struct dk_gpt *);