summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2019-01-21 08:32:29 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-02-07 12:20:26 -0500
commit276c1f066bdaaed6fe82ed231e1eff2f41c34882 (patch)
treeae2da20d5824f9740463116e3b83be45a4c4f5d1 /include/media
parent7b6b9a8c36b9264b8c31059506119a0aac1413ba (diff)
downloadlinux-stable-276c1f066bdaaed6fe82ed231e1eff2f41c34882.tar.gz
linux-stable-276c1f066bdaaed6fe82ed231e1eff2f41c34882.tar.bz2
linux-stable-276c1f066bdaaed6fe82ed231e1eff2f41c34882.zip
media: v4l2-common: drop v4l2_get_timestamp
This function is no longer used, so drop it. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/media/v4l2-common.h b/include/media/v4l2-common.h
index 0c511ed8ffb0..2b93cb281fa5 100644
--- a/include/media/v4l2-common.h
+++ b/include/media/v4l2-common.h
@@ -362,15 +362,6 @@ __v4l2_find_nearest_size(const void *array, size_t array_size,
size_t height_offset, s32 width, s32 height);
/**
- * v4l2_get_timestamp - helper routine to get a timestamp to be used when
- * filling streaming metadata. Internally, it uses ktime_get_ts(),
- * which is the recommended way to get it.
- *
- * @tv: pointer to &struct timeval to be filled.
- */
-void v4l2_get_timestamp(struct timeval *tv);
-
-/**
* v4l2_g_parm_cap - helper routine for vidioc_g_parm to fill this in by
* calling the g_frame_interval op of the given subdev. It only works
* for V4L2_BUF_TYPE_VIDEO_CAPTURE(_MPLANE), hence the _cap in the