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

2020-12-01 Thread Heinrich Schuchardt

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 
---

  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;
  }






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

2020-11-29 Thread Simon Glass
This is not very useful and is printed by some tests, causing confusion.
Drop it.

Signed-off-by: Simon Glass 
---

 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");
return 0;
 }
 
-- 
2.29.2.454.gaff20da3a2-goog