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: 12549851 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A299DC433EF for ; Mon, 11 Oct 2021 12:13:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 87FF460EBB for ; Mon, 11 Oct 2021 12:13:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236457AbhJKMPO (ORCPT ); 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-Google-Smtp-Source: ABdhPJxUGpue1l3aTxORVT+cJ5FR+C4iB9F3E1K3sWxYPYBf71dhBrfZsXjCcsW94sMy/X7EyGlxZg== 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(-) 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);