Re: [PATCH] s390/appldata: Do not initialise statics to 0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Aug 27, 2022 at 12:22:30PM -0400, Shaomin Deng wrote:
> No need to do the initialization of statics to 0 or NULL.
> 
> Signed-off-by: Shaomin Deng <dengshaomin@xxxxxxxxxx>
> ---
>  arch/s390/appldata/appldata_base.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/s390/appldata/appldata_base.c b/arch/s390/appldata/appldata_base.c
> index d74a4c7d5df6..e1721e2dd89e 100644
> --- a/arch/s390/appldata/appldata_base.c
> +++ b/arch/s390/appldata/appldata_base.c
> @@ -88,7 +88,7 @@ static struct vtimer_list appldata_timer;
>  static DEFINE_SPINLOCK(appldata_timer_lock);
>  static int appldata_interval = APPLDATA_CPU_INTERVAL;
>  static int appldata_timer_active;
> -static int appldata_timer_suspended = 0;
> +static int appldata_timer_suspended;

Why do you think its worth spending your and all the recipient's time
on such patches? What does this improve?



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux