提交 1a4e30c3 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (7119): Remove obsolete code from v4l2-common

Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 a9254475
...@@ -81,7 +81,6 @@ MODULE_LICENSE("GPL"); ...@@ -81,7 +81,6 @@ MODULE_LICENSE("GPL");
* Video Standard Operations (contributed by Michael Schimek) * Video Standard Operations (contributed by Michael Schimek)
*/ */
char *v4l2_norm_to_name(v4l2_std_id id) char *v4l2_norm_to_name(v4l2_std_id id)
{ {
char *name; char *name;
...@@ -270,9 +269,6 @@ char *v4l2_type_names[] = { ...@@ -270,9 +269,6 @@ char *v4l2_type_names[] = {
[V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY] = "video-out-over", [V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY] = "video-out-over",
}; };
#define prt_names(a,arr) (((a)>=0)&&((a)<ARRAY_SIZE(arr)))?arr[a]:"unknown"
/* ------------------------------------------------------------------ */ /* ------------------------------------------------------------------ */
/* debug help functions */ /* debug help functions */
...@@ -421,7 +417,6 @@ static const char *v4l2_int_ioctls[] = { ...@@ -421,7 +417,6 @@ static const char *v4l2_int_ioctls[] = {
}; };
#define V4L2_INT_IOCTLS ARRAY_SIZE(v4l2_int_ioctls) #define V4L2_INT_IOCTLS ARRAY_SIZE(v4l2_int_ioctls)
/* Common ioctl debug function. This function can be used by /* Common ioctl debug function. This function can be used by
external ioctl messages as well as internal V4L ioctl */ external ioctl messages as well as internal V4L ioctl */
void v4l_printk_ioctl(unsigned int cmd) void v4l_printk_ioctl(unsigned int cmd)
...@@ -460,7 +455,6 @@ void v4l_printk_ioctl(unsigned int cmd) ...@@ -460,7 +455,6 @@ void v4l_printk_ioctl(unsigned int cmd)
} }
} }
/* ----------------------------------------------------------------- */ /* ----------------------------------------------------------------- */
/* Helper functions for control handling */ /* Helper functions for control handling */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册