diff options
author | Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> | 2015-01-01 12:51:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-01-27 07:10:38 -0500 |
commit | 39ddae9b225b830d3e21f495da180164a8b90a50 (patch) | |
tree | f4edf2253462cb0e44918872b89d97e6638a16d4 | |
parent | 0badd3c79b3a37c3586ee8a8ca32cf73ef9bb340 (diff) |
[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: 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>
-rw-r--r-- | drivers/media/platform/vsp1/vsp1_hsit.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/media/platform/vsp1/vsp1_hsit.c b/drivers/media/platform/vsp1/vsp1_hsit.c index 80bedc554ee3..0bc0471746c9 100644 --- a/drivers/media/platform/vsp1/vsp1_hsit.c +++ b/drivers/media/platform/vsp1/vsp1_hsit.c | |||
@@ -26,11 +26,6 @@ | |||
26 | * Device Access | 26 | * Device Access |
27 | */ | 27 | */ |
28 | 28 | ||
29 | static inline u32 vsp1_hsit_read(struct vsp1_hsit *hsit, u32 reg) | ||
30 | { | ||
31 | return vsp1_read(hsit->entity.vsp1, reg); | ||
32 | } | ||
33 | |||
34 | static inline void vsp1_hsit_write(struct vsp1_hsit *hsit, u32 reg, u32 data) | 29 | static inline void vsp1_hsit_write(struct vsp1_hsit *hsit, u32 reg, u32 data) |
35 | { | 30 | { |
36 | vsp1_write(hsit->entity.vsp1, reg, data); | 31 | vsp1_write(hsit->entity.vsp1, reg, data); |