diff mbox series

scan_for_ubi_devices: remove stray printf

Message ID 20180816170536.16028-1-arnout@mind.be
State Accepted
Headers show
Series scan_for_ubi_devices: remove stray printf | expand

Commit Message

Arnout Vandecappelle Aug. 16, 2018, 5:05 p.m. UTC
This is probably a debugging leftover. Proper tracing with the TRACE
macro is done a little bit later in scan_ubi_volumes().

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 corelib/mtd-interface.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Stefano Babic Aug. 16, 2018, 5:24 p.m. UTC | #1
On 16/08/2018 19:05, Arnout Vandecappelle (Essensium/Mind) wrote:
> This is probably a debugging leftover. Proper tracing with the TRACE
> macro is done a little bit later in scan_ubi_volumes().
> 

It is - thanks for cleanup !

> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>  corelib/mtd-interface.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/corelib/mtd-interface.c b/corelib/mtd-interface.c
> index cd85007..fa9c1f7 100644
> --- a/corelib/mtd-interface.c
> +++ b/corelib/mtd-interface.c
> @@ -291,7 +291,6 @@ static void scan_for_ubi_devices(void)
>  	 * if not yet an attached device, return and try later
>  	 * to attach them
>  	 */
> -	printf("%s\n", __func__);
>  	err = ubi_get_info(libubi, &ubi_info);
>  	if (err)
>  		return;
> 


Acked-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/corelib/mtd-interface.c b/corelib/mtd-interface.c
index cd85007..fa9c1f7 100644
--- a/corelib/mtd-interface.c
+++ b/corelib/mtd-interface.c
@@ -291,7 +291,6 @@  static void scan_for_ubi_devices(void)
 	 * if not yet an attached device, return and try later
 	 * to attach them
 	 */
-	printf("%s\n", __func__);
 	err = ubi_get_info(libubi, &ubi_info);
 	if (err)
 		return;