lkml.org 
[lkml]   [2004]   [Nov]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[6/11] v4l2-common.c: remove v4l2_video_std_fps
    v4l2_video_std_fps in drivers/media/video/v4l2-common.c currently has 
    exactly zero in-kernel users.


    diffstat output:
    drivers/media/video/v4l2-common.c | 13 -------------
    include/linux/videodev2.h | 1 -
    2 files changed, 14 deletions(-)


    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.10-rc1-mm3-full/include/linux/videodev2.h.old 2004-11-07 17:09:48.000000000 +0100
    +++ linux-2.6.10-rc1-mm3-full/include/linux/videodev2.h 2004-11-07 17:09:55.000000000 +0100
    @@ -910,7 +910,6 @@
    #include <linux/fs.h>

    /* Video standard functions */
    -extern unsigned int v4l2_video_std_fps(struct v4l2_standard *vs);
    extern int v4l2_video_std_construct(struct v4l2_standard *vs,
    int id, char *name);

    --- linux-2.6.10-rc1-mm3-full/drivers/media/video/v4l2-common.c.old 2004-11-07 17:10:03.000000000 +0100
    +++ linux-2.6.10-rc1-mm3-full/drivers/media/video/v4l2-common.c 2004-11-07 17:10:23.000000000 +0100
    @@ -84,18 +84,6 @@
    * Video Standard Operations (contributed by Michael Schimek)
    */

    -/* This is the recommended method to deal with the framerate fields. More
    - sophisticated drivers will access the fields directly. */
    -unsigned int
    -v4l2_video_std_fps(struct v4l2_standard *vs)
    -{
    - if (vs->frameperiod.numerator > 0)
    - return (((vs->frameperiod.denominator << 8) /
    - vs->frameperiod.numerator) +
    - (1 << 7)) / (1 << 8);
    - return 0;
    -}
    -
    /* Fill in the fields of a v4l2_standard structure according to the
    'id' and 'transmission' parameters. Returns negative on error. */
    int v4l2_video_std_construct(struct v4l2_standard *vs,
    @@ -259,7 +247,6 @@

    /* ----------------------------------------------------------------- */

    -EXPORT_SYMBOL(v4l2_video_std_fps);
    EXPORT_SYMBOL(v4l2_video_std_construct);

    EXPORT_SYMBOL(v4l2_prio_init);
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:07    [W:0.024 / U:63.816 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site