Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 39ddae9b authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Mauro Carvalho Chehab
Browse files

[media] media: platform: vsp1: vsp1_hsit: Remove unused function



Remove the function vsp1_hsit_read() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 0badd3c7
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -26,11 +26,6 @@
 * Device Access
 */

static inline u32 vsp1_hsit_read(struct vsp1_hsit *hsit, u32 reg)
{
	return vsp1_read(hsit->entity.vsp1, reg);
}

static inline void vsp1_hsit_write(struct vsp1_hsit *hsit, u32 reg, u32 data)
{
	vsp1_write(hsit->entity.vsp1, reg, data);