summaryrefslogtreecommitdiff
path: root/drivers/media/video/v4l2-common.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-31 13:15:52 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 11:14:51 -0300
commit1a4e30c3eaffb83218977477bb83d54316844acb (patch)
treef1ba07915c308e0c5d5772cce140dcf1fe004ec5 /drivers/media/video/v4l2-common.c
parenta9254475bbfbed5f0596d952c6a3c9806e19dd0b (diff)
V4L/DVB (7119): Remove obsolete code from v4l2-common
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/v4l2-common.c')
-rw-r--r--drivers/media/video/v4l2-common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/video/v4l2-common.c b/drivers/media/video/v4l2-common.c
index 74d0a5996697..4a8fc170138b 100644
--- a/drivers/media/video/v4l2-common.c
+++ b/drivers/media/video/v4l2-common.c
@@ -81,7 +81,6 @@ MODULE_LICENSE("GPL");
* Video Standard Operations (contributed by Michael Schimek)
*/
-
char *v4l2_norm_to_name(v4l2_std_id id)
{
char *name;
@@ -270,9 +269,6 @@ char *v4l2_type_names[] = {
[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 */
@@ -421,7 +417,6 @@ static const char *v4l2_int_ioctls[] = {
};
#define V4L2_INT_IOCTLS ARRAY_SIZE(v4l2_int_ioctls)
-
/* Common ioctl debug function. This function can be used by
external ioctl messages as well as internal V4L ioctl */
void v4l_printk_ioctl(unsigned int cmd)
@@ -460,7 +455,6 @@ void v4l_printk_ioctl(unsigned int cmd)
}
}
-
/* ----------------------------------------------------------------- */
/* Helper functions for control handling */