media: camss: Remove unused static function
authorRobert Foss <robert.foss@linaro.org>
Mon, 11 Oct 2021 12:13:01 +0000 (14:13 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 29 Nov 2021 12:23:25 +0000 (13:23 +0100)
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>
drivers/media/platform/qcom/camss/camss-vfe-170.c

index 5c083d70d4950f73994a1388bc6f0ca992a9b081..f524af712a8438e0f59651619985e426d21e294c 100644 (file)
@@ -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);