diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-03-28 18:25:36 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2009-03-28 18:25:36 -0700 |
commit | 3826b3c7a2e11305ae0a51156426920fc03cc21e (patch) | |
tree | f73660473999cbb6f068cac9810d6d8ba597f220 /linux/drivers/media/video/saa717x.c | |
parent | 08340d0b0c4b007c6ea1f300e3281b012da7f21b (diff) | |
download | mediapointer-dvb-s2-3826b3c7a2e11305ae0a51156426920fc03cc21e.tar.gz mediapointer-dvb-s2-3826b3c7a2e11305ae0a51156426920fc03cc21e.tar.bz2 |
vino: Remove code for things already done by video_ioctl2
From: Trent Piepho <xyzzy@speakeasy.org>
The v4l2-ioctl core only allows buffer types for which the corresponding
->vidioc_try_fmt_xxx() methods are defined to be used in vidioc_(g|s)_parm,
vidioc_(q|dq|query)buf, and vidioc_reqbufs.
Remove buffer type checking from vino_g_parm(), vino_s_parm(),
vino_reqbufs(), vino_querybuf(), vino_qbuf(), and vino_dqbuf(). This
reduced the indent level of the code so a few lines can be wrapped better.
Also fixed the C++ type comments.
The v4l2-ioctl core also provides structs that have been pre-zeroed for all
fields that driver is supposed to fill in, so remove zeroing code from
vino_enum_fmt_vid_cap(). Also, the format index is unsigned so it's not
necessary to check if it's less than zero.
Priority: normal
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/saa717x.c')
0 files changed, 0 insertions, 0 deletions