diff mbox series

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

Message ID 20201130015402.2328621-2-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show
Series dm: Change the way sequence numbers are implemented | expand

Commit Message

Simon Glass Nov. 30, 2020, 1:53 a.m. UTC
This is not very useful and is printed by some tests, causing confusion.
Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 lib/efi_driver/efi_uclass.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Heinrich Schuchardt Dec. 1, 2020, 8:04 a.m. UTC | #1
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@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;
>   }
>
>
diff mbox series

Patch

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");
 	return 0;
 }