[PATCH 02/27] efi: Drop unwanted message in efi_uc_destroy()

Heinrich Schuchardt xypron.glpk at gmx.de
Tue Dec 1 09:04:23 CET 2020


On 11/30/20 2:53 AM, Simon Glass wrote:
> This is not very useful and is printed by some tests, causing confusion.
> Drop it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>   lib/efi_driver/efi_uclass.c | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/lib/efi_driver/efi_uclass.c b/lib/efi_driver/efi_uclass.c
> index 0cf74b0361d..5b8315472e3 100644
> --- a/lib/efi_driver/efi_uclass.c
> +++ b/lib/efi_driver/efi_uclass.c
> @@ -340,7 +340,6 @@ static int efi_uc_init(struct uclass *class)
>    */
>   static int efi_uc_destroy(struct uclass *class)
>   {
> -	printf("Destroying  UCLASS_EFI\n");

log_debug() would be appropriate.

Please, drop this patch. I will change all printf() statements in this
file to log.

Best regards

Heinrich

>   	return 0;
>   }
>
>



More information about the U-Boot mailing list