From patchwork Mon Oct 11 12:13:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foss X-Patchwork-Id: 515607 Delivered-To: patch@linaro.org Received: by 2002:ac0:b5cc:0:0:0:0:0 with SMTP id x12csp4385486ime; Mon, 11 Oct 2021 05:13:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXEW3D7UqAsXW40g2LKcU6RIDy5KL2g/edcpAcRPw91noGYAM8/+WaP1Aw8JKAaY4HKTLC X-Received: by 2002:a05:6402:785:: with SMTP id d5mr11213643edy.117.1633954396710; Mon, 11 Oct 2021 05:13:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633954396; cv=none; d=google.com; s=arc-20160816; b=A6ckVsilE0aTbuu6kkO8Vm+reI622KPhRaY+U+Ow0zGxh3qnYax7QZ9B4uDGl5kG31 rYcw3KqWb7eK79wbLegt79Hk7AukD/JEhXpAc1AMF7Fj5LyBE2XDtvKY+D9JFtpDY2CY zpUTrzMA1N1avfCog2tVBFQ0eqVn9DjqyHEIJb3SFaBiOMf7gwtFcxpziq90gOAuz05d oH4Fs3fcISS/SQIn+Fr9hKa7SvlTmbVMIdeI9gJx0drb9cU+IDnxMCOh5lQWc2+9c8gy ykaOYzYtsqUE1DJiEVg6+9aql287mS104SKuSlwUUkoICnUuqiNyItH97Z4OxcdpG6D5 UmPw== 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=8QAyrhTrBX3oe1+/VClxZ5AaJhmcVFw1Cwl8ifw9smU=; b=JNerI7I52FhAoad0bJfHc+k/bUb/FI5BBdoDkAahkDsznIn4Tfivqks3Anxj+WuaIa 0dqdenS10o4r4xdigiPU43Ob1wadq+ZwoNneg6GB8ZSTqdlu7fuFiYf5JOvXUQW3f9dk dAqCCX2nNoiSw5vFegNgmru/1E7oDT1ZygHEw2MSjXYOKpUKG+KNhQAA0IYaEBVERXqn ZPM7NNn6/mJovOlAWWRU3yKkpX9QJyb0YzRGyxvgMT2c96TEzlYdBr4ZITzf2desR9HW 8RZUlYzBqnJyjCzLnHpj4DTu4B8yo38PhG8fahup/yr6/d36ZYvxOlVfNg6fiQCHPHzG XXfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tImhJNsr; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gz9si10774965ejc.246.2021.10.11.05.13.16; Mon, 11 Oct 2021 05:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tImhJNsr; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236457AbhJKMPO (ORCPT + 4 others); Mon, 11 Oct 2021 08:15:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236394AbhJKMPO (ORCPT ); Mon, 11 Oct 2021 08:15:14 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC806C061570 for ; Mon, 11 Oct 2021 05:13:13 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id w19so7024941edd.2 for ; Mon, 11 Oct 2021 05:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=8QAyrhTrBX3oe1+/VClxZ5AaJhmcVFw1Cwl8ifw9smU=; b=tImhJNsru22/TVHDHuPzdBW1T7oS3gmN0lt83xz7aFspW3nEHO7FtXcM0z2CgwtJWB 3X2woQ9IRKRYo6PxlVGPD/n/fIEZCjXeco1V0mSOg/bWWznBBbxSFQprA7v4/Er4dkd7 LNhUuHY5Q1F6erW+27SyjVCdCIE2phcEVwXt/vj11jwjk7BmfZz3VFxWBHt8y08ZBkvS 6CmOS4sNDMbRi+39GFcRQvtaz5lFYQ+qWwdFhlTF1lxDYGkO9gFlr5lGF4+dJatOzo5U 58oR8iruLJtdkjlI3wPrVsUZ9B6sE+q8rLTY99pxNtYBEs8d+62qEmgLCMaMGbd2bJbs 3skQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=8QAyrhTrBX3oe1+/VClxZ5AaJhmcVFw1Cwl8ifw9smU=; b=pijVDwGEGFvbRhgygPFd561H4lUWwIm5Hd3WMitmkAlwxMTVpbUxYOa5KUVdEZLHcU fcaaBAhj+y1DaAadEX79Po/WGd0R3ez9yh1fGjU2qQRMSGZms+23lB/kXgTLiGawoJ9Q R5BgOCh0aoj1LhfTMm2UJ3QSgCDnOZ0dUhE0fCla8IXmtm4dK2iANITALxYDTgY/85cU /mjRnll3TzA4WSutXVZPdMOo/a4XZonADLU2SIXj0dJNK+rrCipF0mP8Z9H5LahVxo5N o3lxGcH6Hp9SR9tChQ/vK0tUZ7ta2yMy8Qx1TQO9R89VzOEbpcAiC5M0imaZqKvNDJGh JBWg== X-Gm-Message-State: AOAM530goR+EFfk2OiR+9y/gF+7WfS4xNJChuEg+Ea1VCYTNUkZPeAb/ edLrt3lbvhR8y4Q7xMjYNbeKGQ== X-Received: by 2002:a50:cf86:: with SMTP id h6mr40794246edk.104.1633954392430; Mon, 11 Oct 2021 05:13:12 -0700 (PDT) Received: from localhost.localdomain (ip5b403997.dynamic.kabel-deutschland.de. [91.64.57.151]) by smtp.gmail.com with ESMTPSA id f12sm617783edx.90.2021.10.11.05.13.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 05:13:12 -0700 (PDT) From: Robert Foss To: robert.foss@linaro.org, todor.too@gmail.com, agross@kernel.org, bjorn.andersson@linaro.org, mchehab@kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1] media: camss: Remove unused static function Date: Mon, 11 Oct 2021 14:13:01 +0200 Message-Id: <20211011121301.421410-1-robert.foss@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org vfe_reg_clr() is not used in camss-vfe-170.c, and can be removed. Signed-off-by: Robert Foss --- drivers/media/platform/qcom/camss/camss-vfe-170.c | 7 ------- 1 file changed, 7 deletions(-) -- 2.30.2 diff --git a/drivers/media/platform/qcom/camss/camss-vfe-170.c b/drivers/media/platform/qcom/camss/camss-vfe-170.c index 5c083d70d495..f524af712a84 100644 --- a/drivers/media/platform/qcom/camss/camss-vfe-170.c +++ b/drivers/media/platform/qcom/camss/camss-vfe-170.c @@ -191,13 +191,6 @@ static u32 vfe_hw_version(struct vfe_device *vfe) return hw_version; } -static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) -{ - u32 bits = readl_relaxed(vfe->base + reg); - - writel_relaxed(bits & ~clr_bits, vfe->base + reg); -} - static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) { u32 bits = readl_relaxed(vfe->base + reg);