[media] V4L: cosmetic clean up
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Tue, 6 Dec 2011 08:33:03 +0000 (05:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 11 Dec 2011 11:47:21 +0000 (09:47 -0200)
commit1fc2b5f7fb6d98c079236d57203c7b73a13c54d7
tree12a8986e5c68b4d4cd829e976c687346d3978fe6
parent885f3cad982eabbc85c2ab052bc44453e4aca6d3
[media] V4L: cosmetic clean up

Improve the use of the WARN_ON() macro and use a local variable, instead
of reduntantly dereferencing a pointer in v4l2-dev.c

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-dev.c