Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1458461rwb; Fri, 12 Aug 2022 00:57:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR5miAUuyxE8xIQzRjksJ57I1x7q6+sKpknxvL6nNH2y2JP+noMnFVUWBKITGc+QCkxunyqK X-Received: by 2002:a63:5541:0:b0:419:6d07:635d with SMTP id f1-20020a635541000000b004196d07635dmr2263145pgm.19.1660291073223; Fri, 12 Aug 2022 00:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660291073; cv=none; d=google.com; s=arc-20160816; b=kEgRsOZxqIFgozEhmcix13iHDQkqAowssSEOTrqkZoHKGAxPuzmxoY5nWRUzZSPtLs fXB7UV1NqbZVEq6fEXa0S+G9bj4zMoEpOvOzei+2wLIVy6n+1j4tZGZopdl3vW99gTV5 9qj9HASjYyK45N1eGrufWDrBO5cUecW7tcr5DNY5du5Ovftsk00oTaL54W/VcnytwoME 1W6K2kP2VeUDYWV/sFZB1rGHhSwmBOKi2hNYdbeausHTU+cb4OdX27BlCiq1/410jClu 1w+Yx8Fx0FmLhtKznhG/ZT/jrWnZ5aJxweL7ngy3M3ZxozakaXbWR7OALnIATAEfPpZz qcxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4h8pJ2DKLxVCS5J3QoilhwJF0fUMj4gWuIsoPrZPKMA=; b=lGZHqxDAdo0BqxYxSN0/vUzD9BfXVHaVpCxpnRxIzgncdhqDmd7hLmVEGO3hk1VMLR 6fRx7X4HtEjXIkfjhsg68sZJ13A6/j9ZflNmNtlKMhi3g+UaAI1K/wJ1mRSAPgOVaI+P i4yrLyDdS2OEF9+74GVj00+cMAVTT8Q7HPMdMEc+B3d0emcN+sMfMMakeRhILKpDGgFN G9pv9MhUQsfwANAzJbMn04gATjdnMRbemU+cwzftY6/TZuxDB6OPFHEADpio+zIYY1PO l6r0PbpBSUA5ytSDAXMxy3McQgqbAaNBb6veREM0KxzrpsbfT66ksDlIV1ByssDtrUWP JIQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=OVDxWKk9; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v30-20020a63b95e000000b0041d8ca10b57si2317834pgo.223.2022.08.12.00.57.40; Fri, 12 Aug 2022 00:57:53 -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; dkim=pass header.i=@mediatek.com header.s=dk header.b=OVDxWKk9; 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237651AbiHLHxa (ORCPT + 99 others); Fri, 12 Aug 2022 03:53:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236480AbiHLHx2 (ORCPT ); Fri, 12 Aug 2022 03:53:28 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20B5FA721E; Fri, 12 Aug 2022 00:53:23 -0700 (PDT) X-UUID: 32d70552f3984b9eb0471fe447add870-20220812 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=4h8pJ2DKLxVCS5J3QoilhwJF0fUMj4gWuIsoPrZPKMA=; b=OVDxWKk9vFU15CuVqRNpSrlngitUq0dgTq7sz2huy7vWqlE1IxWe1lte892zsC/X9DSF+axG99lqSyOBfaUDuV1eyIRUtDRNAy0Z3fbQPykD8gP57NZ0egm+mGpRbXyAe7Y2FK5EUMqt6PyR+GXMcj+BARtQGjW5ywov4Na06HE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.9,REQID:2ee0ce42-0f46-42e8-a41f-c7c0dc9483f0,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_H am,ACTION:release,TS:0 X-CID-META: VersionHash:3d8acc9,CLOUDID:6e47789c-da39-4e3b-a854-56c7d2111b46,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:-5,EDM:-3,IP:nil,URL:0,File:ni l,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 32d70552f3984b9eb0471fe447add870-20220812 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1587919333; Fri, 12 Aug 2022 15:53:16 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.186) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Fri, 12 Aug 2022 15:53:15 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Fri, 12 Aug 2022 15:53:15 +0800 From: Miles Chen To: CC: , , , Subject: Re: [PATCH] power: supply: ab8500: remove unused static local variable Date: Fri, 12 Aug 2022 15:53:15 +0800 Message-ID: <1660290795-612-1-git-send-email-miles.chen@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SCC_BODY_TEXT_LINE,T_SPF_TEMPERROR,UNPARSEABLE_RELAY 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 >> cpp_check reports >> [drivers/power/supply/ab8500_chargalg.c:493]: (style) Variable 'ab8500_chargalg_ex_ac_enable_toggle' is assigned a value that is never used. >> >> From inspection, this variable is never used. So remove it. >> >> Fixes: 6c50a08d9dd3 ("power: supply: ab8500: Drop external charger leftovers") >> Signed-off-by: Tom Rix > >Thanks Tom! >Reviewed-by: Linus Walleij > >Yours, >Linus Walleij Hi Sebastian, It looks like that this patch is not in linux-next 20220812 and I can still observe this build error with ARCH=arm, defconfig=allyesconfig. Would you pick up this fix, please? Thanks, Miles