Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2832938rwd; Wed, 14 Jun 2023 07:55:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4KHdr+/ZsQF8iSTunh+oXuJFlphWfT1vdJhwW3k/g7BJvMDrC0ebX6hISLhQeraVPFqCSX X-Received: by 2002:a17:907:9454:b0:973:d857:9a33 with SMTP id dl20-20020a170907945400b00973d8579a33mr15595566ejc.11.1686754526822; Wed, 14 Jun 2023 07:55:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686754526; cv=none; d=google.com; s=arc-20160816; b=jGpfAVxG4bUwCgzg7Sfa6OIfoWL9bEgpLbs5YVoMOzcdxlvaW/jPjSxlX7Ybc13/bE xhEwRij7poq78TNO25F66r265DrgnKeLKUl+kcTE2xTRqfCM6n+Hv9JAA6TRrOdfyLz/ Ck7+oCTBIUEVYDTLsUzbUA8I8kX5oQs/xDzboQBYhSaotVg6fTicVtQvJXQ8LMImmcOA Ud0ThTIrjYQm+zIFyJ5XUivrSG/Yvf1bSxjpQ1i5KwmnswaKBiyvgSAdBzPc7lh+ol55 kvqDrzqvIT4CKgFpgE38PFaG8PYLYAz7aqOHc2Q4JaaIDbSw8QlugtFhp9nFNKthlCnS 12pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=pMtRSNlNhH3zB6+G01jZgv83eQrPK9eBG1iGloDhKB0=; b=BvKcCtj5zP8r9QYVf37qWrx04FRyYNq/o9NRPMUXXEXv1YQAl+pkQuoa0Dsr7fUqOV VzSD5TOINNEukcqkeuqBT/bKDysNcVQVt+D1X+7b38GSSBVoKIVAO2xuZZUUut8jYECA 04vfFOP64hcxM6dl1Qz/5GMQBZeza+jVlK2JPmP3XDjijG7gRK59VzI4mkfzp4cMcmwI 3U+6j2/KX+gJa2T2TvzziVBgLyL148uHokEse3XLAuwtrD4K9zkUZCp2/hCET36NeEoN tJ06ZcKPttsVPu6b3+5R5Q/aJ1dDfNZE0VwFIt5xaRjPYrZSoEVAn8pqTGsFP3hC5oS7 VKyw== 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 f21-20020a17090624d500b00977ec68f019si7867280ejb.228.2023.06.14.07.55.02; Wed, 14 Jun 2023 07:55:26 -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 S244651AbjFNOrU (ORCPT + 99 others); Wed, 14 Jun 2023 10:47:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244633AbjFNOrU (ORCPT ); Wed, 14 Jun 2023 10:47:20 -0400 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1845F1981; Wed, 14 Jun 2023 07:47:16 -0700 (PDT) Received: by angie.orcam.me.uk (Postfix, from userid 500) id 8130C92009C; Wed, 14 Jun 2023 16:47:15 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 7B62192009B; Wed, 14 Jun 2023 15:47:15 +0100 (BST) Date: Wed, 14 Jun 2023 15:47:15 +0100 (BST) From: "Maciej W. Rozycki" To: baomingtong001@208suo.com cc: Thomas Bogendoerfer , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: Octeon: remove unneeded variable In-Reply-To: Message-ID: References: <20230614023829.23752-1-luojianhong@cdjrlc.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Wed, 14 Jun 2023, baomingtong001@208suo.com wrote: > fix the following coccicheck warning: > > arch/mips/cavium-octeon/executive/cvmx-spi.c:152:5-8: Unneeded variable: > "res". Have you actually tried to rebuild with your "fix" applied? Please always do before submitting patches. Maciej