[2/2] crypto: iaa - Remove unneeded newline in update_max_adecomp_delay_ns()

Message ID 20231218204715.220299-3-tom.zanussi@linux.intel.com
State New
Headers
Series crypto: Intel Analytics Accelerator (IAA) updates |

Commit Message

Tom Zanussi Dec. 18, 2023, 8:47 p.m. UTC
  Remove a stray newline in update_max_adecomp_delay_ns().

Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
---
 drivers/crypto/intel/iaa/iaa_crypto_stats.c | 1 -
 1 file changed, 1 deletion(-)
  

Comments

Dave Jiang Dec. 18, 2023, 9:48 p.m. UTC | #1
On 12/18/23 13:47, Tom Zanussi wrote:
> Remove a stray newline in update_max_adecomp_delay_ns().
> 
> Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>

Reviewed-by: Dave Jiang <dave.jiang@intel.com>

> ---
>  drivers/crypto/intel/iaa/iaa_crypto_stats.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/crypto/intel/iaa/iaa_crypto_stats.c b/drivers/crypto/intel/iaa/iaa_crypto_stats.c
> index 0279edc6194e..2e3b7b73af20 100644
> --- a/drivers/crypto/intel/iaa/iaa_crypto_stats.c
> +++ b/drivers/crypto/intel/iaa/iaa_crypto_stats.c
> @@ -109,7 +109,6 @@ void update_max_adecomp_delay_ns(u64 start_time_ns)
>  	time_diff = ktime_get_ns() - start_time_ns;
>  
>  	if (time_diff > max_adecomp_delay_ns)
> -
>  		max_adecomp_delay_ns = time_diff;
>  }
>
  
Fenghua Yu Dec. 18, 2023, 9:55 p.m. UTC | #2
On 12/18/23 12:47, Tom Zanussi wrote:
> Remove a stray newline in update_max_adecomp_delay_ns().
> 
> Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>

Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>

Thanks.

-Fenghua
  

Patch

diff --git a/drivers/crypto/intel/iaa/iaa_crypto_stats.c b/drivers/crypto/intel/iaa/iaa_crypto_stats.c
index 0279edc6194e..2e3b7b73af20 100644
--- a/drivers/crypto/intel/iaa/iaa_crypto_stats.c
+++ b/drivers/crypto/intel/iaa/iaa_crypto_stats.c
@@ -109,7 +109,6 @@  void update_max_adecomp_delay_ns(u64 start_time_ns)
 	time_diff = ktime_get_ns() - start_time_ns;
 
 	if (time_diff > max_adecomp_delay_ns)
-
 		max_adecomp_delay_ns = time_diff;
 }