[media] pvrusb2: Stop statically initializing reserved struct fields to zero
authorMike Isely <isely@pobox.com>
Mon, 20 Feb 2012 05:03:39 +0000 (02:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 May 2012 19:48:19 +0000 (16:48 -0300)
commit5f1a12f5d03ecd920e09c08e1b9fc1312a1d6da4
tree6e17e2963da3a7bb2641bc5167b320074d30cc1e
parentd1c07ef1135310940f4f49765f7e385aa847cff5
[media] pvrusb2: Stop statically initializing reserved struct fields to zero

In any statically initialized data structure, the compiler is going to
zero any part which is not already explicitly initialized.  While we
can take that knowledge overboard and simply avoid initializing
anything that needs to be zero, it's at least a good idea not to
bother zeroing parts that we don't otherwise care about - like
"reserved" fields which may change in the future.  Avoiding
initialization of those fields now also avoids possible conflict down
the road.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/pvrusb2/pvrusb2-v4l2.c