Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp577301pxj; Thu, 17 Jun 2021 09:04:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfNEkKGaEBXhKiQX1um2QeB5x9KaX7QsF2NkscowedWtNwvWUnhXwRNMKzkhIxj2wEw0nw X-Received: by 2002:aa7:dd81:: with SMTP id g1mr7513551edv.274.1623945847654; Thu, 17 Jun 2021 09:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623945847; cv=none; d=google.com; s=arc-20160816; b=iCLQmYwraVzedOVCF+084nLbU6gM+uP0B0VGDcCnoxQC6Ho45i/4sKjAw6jcrbebqC bfzTuXdQ0DYB/y96ITbv8x4kIzAabZPrGOkFKbU/wwBfxozOEt+0D3oYHbJSq59hrKJs F4ow8WtwFknisJKXMhA5wKm+PYm7XYKTIF2O/PIC7vTiB0mqqJwyeILnYHOKW2SU6AW1 INk+KfqVPwNWCBEc5bNRhLUixXJnRtvA373Fg4Bvqd/Cvyj3bKEADPNJqdMI7OYn6Bg7 jwhSAFiTWuOAO44nx8dtqJetAfr3HBK5yK5GseM58w9zq2AtLXa9AVXipNCVxG30UQTb bEfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=il0YVEJ4LTnZZbFctE8FNLc2eOIfsG2A+MLI98TWHXM=; b=X3dx8j9wv8D2psa+qfKVXUfvW6KzjcAmN2JFeFJlKDHOjVtdlxwU/qCbF+eBtDVmzm vv99ibH6zW71g66oHOShqjqOeRvI46OV48NrhQGWlZkCqZuUUGdbbHtPO3hqRN7PdsbO OqEMF32CbUf1K6Ak9Q1dwxnC/POdc1Av4vUXxXlse2o9OW+/wMKQ8CRAd+0/1rOWfQXe pyO9rc2BF4NJTwykpAQqj0u1/ZqEIGKYhFYxYufTLdIuK8WbUQsUnRu1QHlSd4sCtZsS uKcZuFFXQMvVIGbNG2I7Prb24EI7RtL7f4YrRmihjjnBXbOFvF1DFnyaD43p2yHUlXL6 AG/w== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y8si5743943edc.556.2021.06.17.09.03.44; Thu, 17 Jun 2021 09:04:07 -0700 (PDT) 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232763AbhFQMRJ (ORCPT + 99 others); Thu, 17 Jun 2021 08:17:09 -0400 Received: from mail-oi1-f182.google.com ([209.85.167.182]:44968 "EHLO mail-oi1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232766AbhFQMRI (ORCPT ); Thu, 17 Jun 2021 08:17:08 -0400 Received: by mail-oi1-f182.google.com with SMTP id a26so6268957oie.11; Thu, 17 Jun 2021 05:15:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=il0YVEJ4LTnZZbFctE8FNLc2eOIfsG2A+MLI98TWHXM=; b=aR+Ie9GINrCXmhTlsrbfVzjWoP4700E4S/YDyi0C5La9FY7vdfn9CPQoYT50KrH5gu Rp2rbxjycAsg1J+co75freHVLD9vGOF6oBx7JkMdwwRTRfbpltS4nPpLcitOCCEwS3Sc fzYSegXQc6OMXzB7LrZickwzfKMF8rGw2RWdoodFGGyx8cVQV0zNh/j8tyBRx0uW1pY8 cueA0VSk+gX3TA8daPbQTRtMY2ps2tddeNl+Fzz1jGiVF7GWuUeA9bjLtvBQZCGp9fLG bseEQtcu+ieAl1YDg5+tTJOI/BMHGaQyLfBagpIEZsI+GAVhwtC8JBi13exA6/GoexXh pTEQ== X-Gm-Message-State: AOAM532TleMJ/eZan847Q5BM8SMd7kFXCf7CmqwDbwMNsX88oXXpH9ua d0MNqoWi4dhkoxO8PPMiQ4MbdBX6TOk6ArF9oXw= X-Received: by 2002:a05:6808:f08:: with SMTP id m8mr3043926oiw.69.1623932099706; Thu, 17 Jun 2021 05:14:59 -0700 (PDT) MIME-Version: 1.0 References: <20210615114921.8340-1-wanjiabing@vivo.com> In-Reply-To: <20210615114921.8340-1-wanjiabing@vivo.com> From: "Rafael J. Wysocki" Date: Thu, 17 Jun 2021 14:14:48 +0200 Message-ID: Subject: Re: [PATCH] cpuidle: remove unneeded semicolon in teo.c To: Wan Jiabing Cc: "Rafael J. Wysocki" , Daniel Lezcano , Linux PM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 15, 2021 at 1:49 PM Wan Jiabing wrote: > > Fix following coccicheck warning: > drivers/cpuidle/governors/teo.c:315:10-11: Unneeded semicolon > > Signed-off-by: Wan Jiabing > --- > drivers/cpuidle/governors/teo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpuidle/governors/teo.c b/drivers/cpuidle/governors/teo.c > index 1e0b2f828abb..7b91060e82f6 100644 > --- a/drivers/cpuidle/governors/teo.c > +++ b/drivers/cpuidle/governors/teo.c > @@ -312,7 +312,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev, > > /* Check if there is any choice in the first place. */ > if (drv->state_count < 2) { > - idx = 0;; > + idx = 0; > goto end; > } > if (!dev->states_usage[0].disable) { > -- Applied as 5.14 material, thanks!