Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp605264pxb; Wed, 27 Jan 2021 16:31:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8CCUMQcwtz0AOe1gACxbd/pOg0SPzrD3Yhjbaxew7MxFNgIWJspFXHsRD0ul9FVl8A6Eu X-Received: by 2002:a17:906:8609:: with SMTP id o9mr8665050ejx.241.1611793876608; Wed, 27 Jan 2021 16:31:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611793876; cv=none; d=google.com; s=arc-20160816; b=bbZFFmpk6im0ZDftE2tG/l4EHkfITkIB06scxLJcaoJrI4VwTW7Ap8v59l2rSF5WgZ Z15WMsEgh8JCpRU1Z49QRl4dfK70pxaMkoW6+v5m+SxddBanIcQnUddXiVI6kAZNZfXc gEV+OdE8xfwVL/JKW6qLW+Ewkxq79giGsq6Gap1I29tY2P4Bfz5RvvJlnjvvAikIKm5i q+BwjfBEA9OIHfO6oNI3Mm8389Lx7sqrwX0v/KEmndFz9uanEwUVYjv3P2ppNPQuwDit ZWt9YQfyt7/j0H56eghi6+MyFnKyQvFq3cMRI8k2bo48KYi1p1h4twLVNnT5axEZTtvI DSvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6tmfI/bA9WngZtll9N4jkkVCAeUqh4fJADYCoA59Gvk=; b=ZReQeFP30mL8wK4aJNXhSVmLYNPTtg/ghvm8vPnCN2YijcoFL2L1Zg6X9QFTGUX7h5 smm2Wiu3NC0Bw+OLX7Qc7AznpWedtOoHLlFQr/sGsAyH4jj1IFmh0SEDmBe7SBDdyw15 646s986zctOQjrtv7cdpvEHhGVWBx56xrVy6sybQwo6WdFRWxUM/o1zzz5J9DIRRI8to Rzq/vYBgzXBBwTeJRSBp9kxRzzLQrrjEIUYCdTuD9ih3n2w8awBWtOHaK62rKJDqXPUE 3jv/eei3G9CIHBF+Y6ck43Sy6uwWPyCegrSCXuDVp/Bn3OkGYqgKFKEUr+wnECzOQAZR 6eag== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n21si1994276edb.30.2021.01.27.16.30.52; Wed, 27 Jan 2021 16:31:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233975AbhA0VMe (ORCPT + 99 others); Wed, 27 Jan 2021 16:12:34 -0500 Received: from elvis.franken.de ([193.175.24.41]:60507 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233908AbhA0VLw (ORCPT ); Wed, 27 Jan 2021 16:11:52 -0500 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1l4s5l-0003cQ-00; Wed, 27 Jan 2021 22:11:09 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 4EA99C0A9B; Wed, 27 Jan 2021 22:05:32 +0100 (CET) Date: Wed, 27 Jan 2021 22:05:32 +0100 From: Thomas Bogendoerfer To: Souptick Joarder Cc: jiaxun.yang@flygoat.com, yangtiezhu@loongson.cn, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mips: cacheinfo: Remove unnecessary increment of level Message-ID: <20210127210532.GA21002@alpha.franken.de> References: <1610786400-3629-1-git-send-email-jrdr.linux@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1610786400-3629-1-git-send-email-jrdr.linux@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 16, 2021 at 02:10:00PM +0530, Souptick Joarder wrote: > kernel test robot throws below warning -> > > arch/mips/kernel/cacheinfo.c:112:3: warning: Variable 'level' is > modified but its new value is never used. [unreadVariable] > > Remove unnecessary increment of level at the end. > > Reported-by: kernel test robot > Signed-off-by: Souptick Joarder > --- > arch/mips/kernel/cacheinfo.c | 1 - > 1 file changed, 1 deletion(-) applied to mips-next with braces removed. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]