[media] v4l2-dev: vdev->v4l2_dev is always set, so simplify code
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 23 Nov 2014 12:14:01 +0000 (09:14 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 10:21:33 +0000 (08:21 -0200)
commitd9bfbcc0c2bc15b9ce79e71a0b3d7e69a714d621
treebd98b0bcbf5299c80f9bfa4fc76932f86d6349e3
parent872dfcfe82438f5211f5fa1dc6406d033a8a2448
[media] v4l2-dev: vdev->v4l2_dev is always set, so simplify code

These days vdev->v4l2_dev must always be set. This means that some
old code that still tests for a NULL vdev->v4l2_dev can be removed
or simplified.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-dev.c