Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1020609lqg; Sat, 2 Mar 2024 11:23:43 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWH/eGUKMPy6dFv1Im7Zj9UK3h8WDOOCDCjXHNzYLTeIH4+88fjvl+CeUyX70t7liugqsntVCNgvaQDh2ok08qrJ6jLY6OTGBhesq8vew== X-Google-Smtp-Source: AGHT+IGMOJzzxqmo9VAs6eqcBmxjl/I5YCupHEIOQu5b2nXBQrn8zQQtkE6EPHox5pclgNxrKd8D X-Received: by 2002:a05:622a:6:b0:42e:da42:9f1d with SMTP id x6-20020a05622a000600b0042eda429f1dmr2630937qtw.7.1709407422894; Sat, 02 Mar 2024 11:23:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709407422; cv=pass; d=google.com; s=arc-20160816; b=q/vyo6ZHkhdCowjhnOhp5174C2MCUXK7we4EIU2jBV/m/D74mVi6yVSs2YdTRa+FMv ivBLA2vIT3aQdiPrIkhxCN5zkNUDFzdghzuaXCfeziJSanD13DX+LIoIBacvf0uMNwK3 RuKnW4Ch3c0+CFKXJwT+DfmkRryTrqXJ0tFue6NgsHOXLCM8AFFhHabH4wOYSHiRB9HC LLtv0GM8eFJqFdRc5G0naE8xT8wRycUHcfOCfBPtrX95oPy2xm5/KAyIPbFZOgbCadSD XgNL8YZwfb2sY7gy6c6iuKn64Mj5/pVrxpC6piIvpVJGKSSvmuIqHIHa+lD0VZDzGzqZ e9nw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d5zwQd0Q9rQ5ahSRMSRYToz8TLyQOCAitEuQ9UhV33k=; fh=PEkH9v0Zmj/RlPLDCbcKTtjdUyBUqfhfh12IfknXudU=; b=NJXqCqPCDihGvtfRa6L21WFX0Eic0haGr2oeAyVVPWaU5f8Y44VOK4vYvCHW1T9pJK fkA7k+21lsEEN0/v5jlSVaQiQrswGIKK2Qhd104BpriucvfUo8qr+r/ZyIwwJFuRr1wf h9oiU+mDO02LGQtWAj3VhTYr0E+wDFFOdD+WiucRL3PdREQf1Iy4cGOg75G9pC/OerI+ Wj5bdVWiJyL+X2a8CqCpPjeOaiVXkBcHtlsqelB/RNumsTMSrgHGAWldow1Uar1swN5k L+2J2S6CC/ukmNOuw4zhlQHAIDfUUpFYZRD8Au+5kEWLHUodry/QDwGFXtt8dg9VMaLu 9sWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VazmT78Q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d20-20020a05622a101400b0042e02b57160si6635454qte.303.2024.03.02.11.23.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 11:23:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VazmT78Q; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-89565-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89565-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 66CD11C20AD5 for ; Sat, 2 Mar 2024 19:23:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBAF83FE5D; Sat, 2 Mar 2024 19:23:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VazmT78Q" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2607182CA; Sat, 2 Mar 2024 19:23:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709407412; cv=none; b=PKfaiRcJupVY6ySDsBTQ/iBGZ8xpTxRsGQuiApR/AtHX2xM3e0pcv3RQnjXE6tNdl2xxMDuBmZsyEDO4pKdmSrEJFVPiVM3rEjkYU4Wy8GSjBuV4FlS2xUT0W0XGAYEVv6OAQufXkHblRzx1/KAc46SY6z8N1XD1zhJHSaV0R7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709407412; c=relaxed/simple; bh=8jSw52uXjV4fw2ydJjEpV5D5UyF/AePP07C1rTZG3iI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xpnev721EFcW2xQ5HvOf7DcqRhr1i7VVXdeC8NBckMhS2C7NehHNHoBnuDwNCnAdXdHHMVwWjT5NKC2LlxGeSoUX2yCJq4ul1i6NcFtaUAPcPktO9vkfXqMQjONXjsExHGmnml44KJkjtGUeu17eHax0TbqHUB8R4s3BngFYl8M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VazmT78Q; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id CDEFAC433C7; Sat, 2 Mar 2024 19:23:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709407412; bh=8jSw52uXjV4fw2ydJjEpV5D5UyF/AePP07C1rTZG3iI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VazmT78QFfRnBeDbPXyLF/BWMr928o9g3aSl++R5Iv6TCjlj2wOx4DOE1GAQy6UiH UoQ6CSJtrf3kO+5/yHjMuEe2/PVm/Uh4JzBwvchiqcKxGUtSCR+Bxou/oNep8jmRY8 OdpIVcdXqy0vincsc4ka8egE6hGxSP8FYwKAxCbAr+5npL5LrFcZfiYp6pG7wKU/sr Y+1sGg7OOKpvSp2ZLUrGMSdkEfq4XE2XdZhhvpsVOIk7eqtsB3GfWS1IW++8g7v5Rq WVa68VTUwYSr1yL6Q6wMtbK4Bzg1z+kjmdrSmB6YhIS/xIpu1Z3BQSAbKwpMm1Miv8 kNaYMhDVVwCCw== Date: Sat, 2 Mar 2024 13:23:29 -0600 From: Bjorn Andersson To: Mukesh Ojha Cc: konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org, linux-gpio@vger.kernel.org Subject: Re: [PATCH v12 9/9] firmware: scm: Remove redundant scm argument from qcom_scm_waitq_wakeup() Message-ID: References: <20240227155308.18395-1-quic_mojha@quicinc.com> <20240227155308.18395-10-quic_mojha@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240227155308.18395-10-quic_mojha@quicinc.com> On Tue, Feb 27, 2024 at 09:23:08PM +0530, Mukesh Ojha wrote: > Remove unused scm argument from qcom_scm_waitq_wakeup(). Is it unused or redundant? Please pick on word (the right one ;)) Regards, Bjorn > > Signed-off-by: Mukesh Ojha > --- > drivers/firmware/qcom/qcom_scm.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c > index a1dce417e6ec..d91f5872e003 100644 > --- a/drivers/firmware/qcom/qcom_scm.c > +++ b/drivers/firmware/qcom/qcom_scm.c > @@ -1853,7 +1853,7 @@ int qcom_scm_wait_for_wq_completion(u32 wq_ctx) > return 0; > } > > -static int qcom_scm_waitq_wakeup(struct qcom_scm *scm, unsigned int wq_ctx) > +static int qcom_scm_waitq_wakeup(unsigned int wq_ctx) > { > int ret; > > @@ -1885,7 +1885,7 @@ static irqreturn_t qcom_scm_irq_handler(int irq, void *data) > goto out; > } > > - ret = qcom_scm_waitq_wakeup(scm, wq_ctx); > + ret = qcom_scm_waitq_wakeup(wq_ctx); > if (ret) > goto out; > } while (more_pending); > -- > 2.43.0.254.ga26002b62827 >