Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4979993rwd; Sun, 11 Jun 2023 20:16:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4TA701cRFyUqEdno8cNG/DD7j8+jWab6Kqpl1taSUPJQ8LOAjC1feWogmbrBx/SRDMIxok X-Received: by 2002:aca:230b:0:b0:394:4642:7148 with SMTP id e11-20020aca230b000000b0039446427148mr3047405oie.48.1686539780761; Sun, 11 Jun 2023 20:16:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686539780; cv=none; d=google.com; s=arc-20160816; b=0NyNLZLrKDGq+wNNmxXeeecX9DKxmM/IGMwu5oqoBD+ZDT/UtwjVoZBoazHgWDHvjh WAvlUYwH2/UCjOSP2X8ObiN198raqbSAoLxJPsPAx92yVePmjcKozG1iML2LAcCP8J1Z 5/NOehVIXZAQdEMEDD5AONa3EVg5DoOECViXgvUWRb3mEckatJVNvt/jATFYpXyLAkcB Aup41eNgn9rIVjEwXKHl0uslV+6P9UE3r60bLkp0bdIdOZ8UntOcNi++WomB9rSrRA/i 3KUGL3uCblIxOsiNKf3GaqdXDAgQCiri3xSjC7L9vU3C41iyyJ+d7nClXEg3STjJ7Oka G8qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=GKE9BKK+MwSXqf4zwNHF7dsR6H8MF04TBAP6Fb2cA+A=; b=MwPeQpFTaYXm+AlhHHsPIuJLICWf86+DIrDEKce/pRCKVGE89DO+7WxTxY8DEux1aq IBXdwl5jlftJ+BWsjdzaV6Rf8INqCb1bUIWN467XgbSwOEjccLfYjcpIsU2Ln4/h8D2u ceCeAAq2HUxE+8RvgpPNaV77u+R+IakzSpgSL7nnXyTl/ZxDBFRumftnSKHxmWmUhHrP qu9AakwFqU90eQOG1anLEJAYCYwvdMhZsLZxXs59Euu+qF/KHCS+k03ni+Nz/8Rz79fp BZFAFj/gRkCnC284DDoPS3Uph3W67xt+2cQYtlwgjbfIamOEdLrYAAcGP0zRutn+/BVm oRUA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a17090a4c8300b00233e301c780si8052559pjh.31.2023.06.11.20.16.08; Sun, 11 Jun 2023 20:16:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232990AbjFLDFF (ORCPT + 99 others); Sun, 11 Jun 2023 23:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233614AbjFLDEt (ORCPT ); Sun, 11 Jun 2023 23:04:49 -0400 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 900FDE6E for ; Sun, 11 Jun 2023 20:04:46 -0700 (PDT) Received: from localhost.localdomain (unknown [219.141.250.2]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 3A317602B440D; Mon, 12 Jun 2023 11:04:24 +0800 (CST) X-MD-Sfrom: zeming@nfschina.com X-MD-SrcIP: 219.141.250.2 From: Li zeming To: jstultz@google.com, tglx@linutronix.de, sboyd@kernel.org, linux-kernel@vger.kernel.org Cc: Li zeming Subject: [PATCH] time: clocksource-wdtest: Remove unnecessary initialization of variable 'ret' Date: Wed, 14 Jun 2023 03:35:40 +0800 Message-Id: <20230613193540.3177-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_24_48, RDNS_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ret is assigned first, so it does not need to initialize the assignment. Signed-off-by: Li zeming --- kernel/time/clocksource-wdtest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/clocksource-wdtest.c b/kernel/time/clocksource-wdtest.c index df922f49d171..bf89700aa9bf 100644 --- a/kernel/time/clocksource-wdtest.c +++ b/kernel/time/clocksource-wdtest.c @@ -181,7 +181,7 @@ static void clocksource_wdtest_cleanup(void) static int __init clocksource_wdtest_init(void) { - int ret = 0; + int ret; wdtest_print_module_parms(); -- 2.18.2