]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (7119): Remove obsolete code from v4l2-common
authorMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 31 Jan 2008 16:15:52 +0000 (13:15 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 18 Feb 2008 14:14:51 +0000 (11:14 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/v4l2-common.c

index 74d0a599669799aa25236f218120ee1f322f1424..4a8fc170138bdcea79136f3aed6828950b8fc592 100644 (file)
@@ -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                            */