Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp993203rwl; Thu, 5 Jan 2023 07:21:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXsa+rVLRT3RUI03CD3GLUg41smsip0Z5JDq6TnEAdBp3boye+QIqkxn8spVqBqe/72abnKD X-Received: by 2002:a05:6a20:47c6:b0:b0:1e9b:e930 with SMTP id ey6-20020a056a2047c600b000b01e9be930mr55518629pzb.57.1672932108006; Thu, 05 Jan 2023 07:21:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672932107; cv=none; d=google.com; s=arc-20160816; b=znVXHHfivsyUmGUyfONVj0xTL69NZqgjD6XwiFOltRf2t/39rqjzcXsWCSjCHUEmGw sW9l53qe6q+CYG+5jG1h34eu506Z7c/WcUtLOwsI/svKPal/7mZybn4gIEELRwns9rVd tP3MYg606WLSMpfxb8GXPY01onkaOJoS0PdkzcvVTc29HjjhNbVK75xhr635GhlBPAsg BGMdIJ/gLa7QCem1DIfg5FYDUpYWz0vtzJ36mjycNW7sAZlsBc/2mf/bRqv3rmlQmeDD McX5R7KbxrkBAaIOT3rJE0h3GHed1Bb9/05BUk551WlTpPDahnmvoCU2GHb2PDC82xS1 5QKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=D5BsDq4kN9ulOSpMPYkVi+ZhMjJAMkXLilM9JTo4po8=; b=PAPw47rhNIGp5AhyX3lxQCqDFXTMDkQBDryjajNIasPq86lwCe2BDurAVyQbtDRJkF 7Wannl4J0RaBF+YaJ+swoDDMuh3lamv0j+sc5rQADiwvBKJ96d7lZzjV9xwhFca4X4eg Y9I4VYJA0BPvHHYRqs4VMsE2RIkKUzzcsyWkuMD/BN0BoFK9TuAXCNHKoqne5p67Po9J yBFhK9Lchtcd7blzT7pu0nwvXRIknWNKefagNhuD3TiiKiJWKICvf1a2Q1w7n2mVNPnp vVe4t+8gwQhNG8Y+xLcsCwXaVfqQI+LUcMNq6ESpRnboFqaqswVJYOKKLWKWPJJP1wnl Vx3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K3lsmtaN; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a15-20020a621a0f000000b00575f86d63easi36876474pfa.170.2023.01.05.07.21.40; Thu, 05 Jan 2023 07:21:47 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=K3lsmtaN; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232650AbjAEPBo (ORCPT + 55 others); Thu, 5 Jan 2023 10:01:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233981AbjAEPBg (ORCPT ); Thu, 5 Jan 2023 10:01:36 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F6434D70C; Thu, 5 Jan 2023 07:01:34 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B07D661AEF; Thu, 5 Jan 2023 15:01:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 317BEC433EF; Thu, 5 Jan 2023 15:01:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672930893; bh=F25JZKchzOLM49nm5uwBownBm0eGt/bdT2dzwKvj1V0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=K3lsmtaN0f+NR/cSLUH/Ma/vQ6k5ubwu3crIibDbg9cC6iBDDdKfaHoLYjOUd1VPf Th4ucEeo1Sf6YYIxqwALY+hEVu6kBXMmpBTXtiFZ2zCAqIa8QVud5eq4vliOyVFyaz jhd4FNfIklaUTUz1iqLSneQfwughSo7hqG5e7fQQ2HeWkiaUBItEETnNFkM4Fe+vQ8 ri7yDIprYx0CMpwYvERJjJGlzuQzXoIjSTvio+Y9oZ8es7S+R/6uqH+x5572WkXKyK jzV4pPFnozecXevlumuniBenZiLw1uXMjjTTUiKM5IkhKKBizHT0EA+1VU+Oja5a4a DouMQfE1vYrEQ== Date: Thu, 5 Jan 2023 15:01:28 +0000 From: Lee Jones To: Jiapeng Chong Cc: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH] mfd: qcom-pm8xxx: Remove set but unused variable 'rev' Message-ID: References: <20221227081921.56448-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221227081921.56448-1-jiapeng.chong@linux.alibaba.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 Tue, 27 Dec 2022, Jiapeng Chong wrote: > Variable rev is not effectively used in the function, so delete it. > > drivers/mfd/qcom-pm8xxx.c:513:6: warning: variable 'rev' set but not used. > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3558 > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/mfd/qcom-pm8xxx.c | 3 --- > 1 file changed, 3 deletions(-) Applied, thanks -- Lee Jones [李琼斯]