[media] media: platform: vsp1: vsp1_hsit: Remove unused function
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 1 Jan 2015 17:51:30 +0000 (14:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 27 Jan 2015 12:10:38 +0000 (10:10 -0200)
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_hsit.c

index 80bedc554ee3ccba89dabbccf495af1a2d81178f..0bc0471746c922f644f5ccc8756335c67ff48013 100644 (file)
  * 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);