Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3606032pxj; Tue, 15 Jun 2021 04:50:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhD+r2Kqzi6XkxkXpU899PbIog+FEGttfgj/mXc4g/2Twvjw4kFUoXQswTTDUQCzzYtjy3 X-Received: by 2002:a05:6638:3492:: with SMTP id t18mr2643481jal.3.1623757833087; Tue, 15 Jun 2021 04:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623757833; cv=none; d=google.com; s=arc-20160816; b=A4xgXoZ3COP5y1WQzCne2VV/AZ7BVNWeLGIg7AY3SIyr8zlZHaHyxzCIz6SAKneoQm uB4Xw8yfy6hwaaDCUI3IgWLav+MVvSKFFON2iiX8Xp9hjzZ8BAyb+FU/076m5qGGPqjk vcS2tSlapyVVKd8O0I0WsKSyshyG3wVvI4okgO0tCeXqVyfI/spZOZe8Jcy7fm5Y+4yl kEcn9D2xhXDLlIb5y2Jf8Lh4u7DF165OVl1TAJTsta7pZvpnlYjNBBqx2U2nzttfYPiu VePnQnLZwc2QB/o8J68mW8R9JPF+ayDVJ7t+F9j40+dRS9tvD5mpbs+7UeyYiaPuaaFJ 1Y3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=0/P63dEAOAi+kPvhAWGq4Q0ts3IqPeJedDxz2jbvCbk=; b=XWtUuQPXrWT64TD1eXv59TgwXP+0Z653kIDJ/LD/VMJisSYoVrCS6Rx44Bua7HZiTb lGkhZrcSXNTZYWiFuYHCDliLzIaT0I1s/qz7fYZmP3KDU1tB7EMSuhp3D6IwTQt5pXrL SgKsyL+tJ7+rMN8P7/W1Iw4prHWewrXd5cyWVx5aJvo6rJr6+5y+TKmVihaeOUVQwRrp PgCD5W+inb92c+ySEChX6sWNR5EI7VFJaxs91XvQEpgDAAbt6MKvcAb7naONn7GVlivg cBs96pQ6T4HiM1SQKUcriDUog9cYCrD/Q5npeJQWcw3YqgiuR+DksZPYChjC/M6kmE3D YKNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@vivo.com header.s=default header.b="W1Cvo/+N"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 16si3066575ilt.38.2021.06.15.04.50.19; Tue, 15 Jun 2021 04:50:33 -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; dkim=temperror (no key for signature) header.i=@vivo.com header.s=default header.b="W1Cvo/+N"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229992AbhFOLvk (ORCPT + 99 others); Tue, 15 Jun 2021 07:51:40 -0400 Received: from mail-m121144.qiye.163.com ([115.236.121.144]:50790 "EHLO mail-m121144.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbhFOLvj (ORCPT ); Tue, 15 Jun 2021 07:51:39 -0400 DKIM-Signature: a=rsa-sha256; b=W1Cvo/+NZqZ9VxbAitK/kHlzo+N9vKHmzeOPazvGGfXugCiajk9i40AgKvnB44vP8M4CdRxWreWXvE0e/U8TRdoKLkWAsrwlyGees9ko2YexUMK0tNwcCjBV1ERDmDUBBltrfIHbsQ6IeprNYSgWiZe6XfFOlF6VnposU90hBNw=; c=relaxed/relaxed; s=default; d=vivo.com; v=1; bh=0/P63dEAOAi+kPvhAWGq4Q0ts3IqPeJedDxz2jbvCbk=; h=date:mime-version:subject:message-id:from; Received: from Wanjb.localdomain (unknown [36.152.145.182]) by mail-m121144.qiye.163.com (Hmail) with ESMTPA id BFE64AC028E; Tue, 15 Jun 2021 19:49:33 +0800 (CST) From: Wan Jiabing To: "Rafael J. Wysocki" , Daniel Lezcano , Wan Jiabing , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] cpuidle: remove unneeded semicolon in teo.c Date: Tue, 15 Jun 2021 19:49:20 +0800 Message-Id: <20210615114921.8340-1-wanjiabing@vivo.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZS1VLWVdZKFlBSE83V1ktWUFJV1kPCR oVCBIfWUFZQ0NNHlYaQhpOQ0MdHx9JTkNVEwETFhoSFyQUDg9ZV1kWGg8SFR0UWUFZT0tIVUpKS0 hKTFVLWQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NjY6Nww6Az8QN0gpC04cKz05 FDxPC0hVSlVKTUlITE5MTExPSkxCVTMWGhIXVQwaFRESGhkSFRw7DRINFFUYFBZFWVdZEgtZQVlI TVVKTklVSk9OVUpDSVlXWQgBWUFKTkxKNwY+ X-HM-Tid: 0a7a0f815c41b039kuuubfe64ac028e Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) { -- 2.20.1