summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@linaro.org>2021-10-11 14:13:01 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-29 13:23:25 +0100
commit7225436dd8cb481b560e2a52088d0f829887a8cf (patch)
treeef2dcb51794e53a0c5dae7e6d6770f94ab8a09c1 /drivers/media/platform
parentmedia: davinci: vpbe_osd: mark read reg function as __always_unused (diff)
downloadlinux-7225436dd8cb481b560e2a52088d0f829887a8cf.tar.xz
linux-7225436dd8cb481b560e2a52088d0f829887a8cf.zip
media: camss: Remove unused static function
vfe_reg_clr() is not used in camss-vfe-170.c, and can be removed. Signed-off-by: Robert Foss <robert.foss@linaro.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/qcom/camss/camss-vfe-170.c7
1 files changed, 0 insertions, 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);