Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3207336imw; Mon, 18 Jul 2022 04:11:33 -0700 (PDT) X-Google-Smtp-Source: AGRyM1unT6nPWclopjuF5PG936xPFa+qLZJ+O1MUMX+LvUPAG0gqTPAg7uM8UyBXp5JnqpaQkM2o X-Received: by 2002:a05:6870:4210:b0:f3:20cd:7904 with SMTP id u16-20020a056870421000b000f320cd7904mr17490251oac.284.1658142693547; Mon, 18 Jul 2022 04:11:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658142693; cv=none; d=google.com; s=arc-20160816; b=pIaRGOIf+QeRJxCHNecvWzmwe6PF+N1E0b4CeXIuR4eFoAouU82XObWv/viczh9WQ2 AUpgJoIxbRs0FVn2dlSFs/OxYbf/ohqiut84WDTd+aw8Z5D0tNTwxZIZCNjr7EazkwK9 y6bGIjoPRgE59wbeDwyU0RBZ5sx95Z1ToPwAXgsr6j3vajcHkdp5arzxJsEUKD7ay+pU ElMWnyoDQBazq+SBJQonRwD4wDmNs/RcCdTKlJUPgb3yByNTsqriy53LlyXLZ87+ZLfq R0yD+qsx7bgUyarUQyjAzlCBHpccmbfvxhxhCF5PCAkyIw3JS2Cjws0Li55MpRNu5uTN yAdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=tBC/V8dhD9nG9qIjdh7ZOAitsP6NIyASVTTyn1S5I9g=; b=gZPanA/PTBUUSpETs9KWxBhmNPmw+e03Is+w4zsbZkDestNEgWvDfKxI6pZRCAGjvR FE8ig5O5e6BlEn3m5fFfn319U8G2ZwItmiyU4WPvlwfm++IUQKmPp03S9q8DAl4ttd0s EuEPXVPy4r623gmVcet7x1PDQlwurxoWd0L4jM4omC1qDvDhFKob6bjLyfeKZj9Sh7AT 6InIWqtni7RPocbuLhDpYyEilGCgZOQ++5aVQeK03tM2XwIq7Qwuhe+0q2UQmRf3tKQT TcK0m1ES4MrbN6jXUFJ5c6XfDvqDoF5+8HO2z+DU0niu+QrfQgHFu7YQfDPWi3Vku3X6 Lcyw== 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 bk14-20020a056830368e00b00616d61cf7e0si651996otb.198.2022.07.18.04.11.18; Mon, 18 Jul 2022 04:11:33 -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 S234058AbiGRK4R (ORCPT + 99 others); Mon, 18 Jul 2022 06:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232964AbiGRK4R (ORCPT ); Mon, 18 Jul 2022 06:56:17 -0400 Received: from smtpbg.qq.com (biz-43-154-54-12.mail.qq.com [43.154.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0AB34DF60 for ; Mon, 18 Jul 2022 03:56:11 -0700 (PDT) X-QQ-mid: bizesmtp88t1658141759ta2aiv9i Received: from harry-jrlc.. ( [182.148.15.157]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 18 Jul 2022 18:55:55 +0800 (CST) X-QQ-SSF: 0100000000600010C000B00A0000020 X-QQ-FEAT: CmYupcol+WfxU1mjklTmx7HSTiwA6Q6Z5IcXBORdbcBbOYU3Rg0oGAh/Vsamb 5WxON2dbYuCHZhrt0dC/ys4QN/37pSaitIG18zcVm48WbCVkfq2A3xQkmLAtZkpGCY2QUS+ szjstlvr78UAlR+gNCpIs2CaxhqMntRslFU35tBG3Ew9CJ5r9kOcXJ4OjD9xjwUcHvB2r1m VT5I49HhTwfGUVynyfXoKVNboS0diVOCJeEx98ASRAjMR0RwSFT+B/uxxQtw1vYCq2kv9EU 2xmTO+I0qn26kg1/WSl74VFzjJWD6AyRGQD8mHk1Uidu4NTDc5a5pb3c1/yHsNYHFc9JgY7 wXQiti6+Tw/ioa5hrZtMy2b31Fo4cVSbuza1aso X-QQ-GoodBg: 0 From: Xin Gao To: geert@linux-m68k.org Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, Xin Gao Subject: [PATCH] m68k:do not initialise statics to 0. Date: Mon, 18 Jul 2022 18:55:53 +0800 Message-Id: <20220718105553.6529-1-gaoxin@cdjrlc.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr6 X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,RDNS_DYNAMIC, SPF_PASS,T_SPF_HELO_TEMPERROR 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 Delete static variables initialized to 0. Signed-off-by: Xin Gao --- arch/m68k/q40/q40ints.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c index 6886a5d0007b..dfb307ba1185 100644 --- a/arch/m68k/q40/q40ints.c +++ b/arch/m68k/q40/q40ints.c @@ -201,8 +201,8 @@ static int ccleirq=60; /* ISA dev IRQs*/ #define DEBUG_Q40INT /*#define IP_USE_DISABLE *//* would be nice, but crashes ???? */ -static int mext_disabled=0; /* ext irq disabled by master chip? */ -static int aliased_irq=0; /* how many times inside handler ?*/ +static int mext_disabled; /* ext irq disabled by master chip? */ +static int aliased_irq; /* how many times inside handler ?*/ /* got interrupt, dispatch to ISA or keyboard/timer IRQs */ -- 2.30.2