aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-31 11:15:52 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-18 09:14:51 -0500
commit1a4e30c3eaffb83218977477bb83d54316844acb (patch)
treef1ba07915c308e0c5d5772cce140dcf1fe004ec5 /drivers/media
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')
-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");
81 * Video Standard Operations (contributed by Michael Schimek) 81 * Video Standard Operations (contributed by Michael Schimek)
82 */ 82 */
83 83
84
85char *v4l2_norm_to_name(v4l2_std_id id) 84char *v4l2_norm_to_name(v4l2_std_id id)
86{ 85{
87 char *name; 86 char *name;
@@ -270,9 +269,6 @@ char *v4l2_type_names[] = {
270 [V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY] = "video-out-over", 269 [V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY] = "video-out-over",
271}; 270};
272 271
273
274#define prt_names(a,arr) (((a)>=0)&&((a)<ARRAY_SIZE(arr)))?arr[a]:"unknown"
275
276/* ------------------------------------------------------------------ */ 272/* ------------------------------------------------------------------ */
277/* debug help functions */ 273/* debug help functions */
278 274
@@ -421,7 +417,6 @@ static const char *v4l2_int_ioctls[] = {
421}; 417};
422#define V4L2_INT_IOCTLS ARRAY_SIZE(v4l2_int_ioctls) 418#define V4L2_INT_IOCTLS ARRAY_SIZE(v4l2_int_ioctls)
423 419
424
425/* Common ioctl debug function. This function can be used by 420/* Common ioctl debug function. This function can be used by
426 external ioctl messages as well as internal V4L ioctl */ 421 external ioctl messages as well as internal V4L ioctl */
427void v4l_printk_ioctl(unsigned int cmd) 422void v4l_printk_ioctl(unsigned int cmd)
@@ -460,7 +455,6 @@ void v4l_printk_ioctl(unsigned int cmd)
460 } 455 }
461} 456}
462 457
463
464/* ----------------------------------------------------------------- */ 458/* ----------------------------------------------------------------- */
465 459
466/* Helper functions for control handling */ 460/* Helper functions for control handling */