Commit 7225436d authored by Robert Foss's avatar Robert Foss Committed by Mauro Carvalho Chehab
Browse files

media: camss: Remove unused static function



vfe_reg_clr() is not used in camss-vfe-170.c, and can be removed.

Signed-off-by: default avatarRobert Foss <robert.foss@linaro.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 820ef3aa
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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);