commit | df7bdfcd0efa9a25a7c9751a25b4d4efd9141b8d | [log] [tgz] |
---|---|---|
author | Trent Piepho <xyzzy@speakeasy.org> | Wed Mar 04 01:21:03 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 30 12:43:06 2009 -0300 |
tree | baaf31e55f8ff0c6bd82468e8defa31736ce69af | |
parent | f3334bcbf44ad9001460508ef4fbe51e706d24cf [diff] |
V4L/DVB (10817): stkwebcam: Don't need to zero ioctl parameter fields The v4l2 core code in v4l2_ioctl will zero out the structure the driver is supposed to fill in for read-only ioctls. For read/write ioctls, all the fields which aren't supplied from userspace will be zeroed out. Zeroing code is removed from enum_fmt_vid_cap, g_fmt_vid_cap, and g_parm. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>