mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
0badd3c79b
commit
39ddae9b22
|
@ -26,11 +26,6 @@
|
||||||
* Device Access
|
* 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)
|
static inline void vsp1_hsit_write(struct vsp1_hsit *hsit, u32 reg, u32 data)
|
||||||
{
|
{
|
||||||
vsp1_write(hsit->entity.vsp1, reg, data);
|
vsp1_write(hsit->entity.vsp1, reg, data);
|
||||||
|
|
Loading…
Reference in New Issue