summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-03-03 13:51:52 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2009-03-03 13:51:52 -0800
commit831376e2cfb73403a9bba2be23e9c8ce1ec20c3b (patch)
tree71b4499158597424324fd10bf83bedb910f53be8 /linux/drivers/media/video/cx88/cx88.h
parentfa9f1bcf738c7685a6c6ac771f75275cc86a5e85 (diff)
downloadmediapointer-dvb-s2-831376e2cfb73403a9bba2be23e9c8ce1ec20c3b.tar.gz
mediapointer-dvb-s2-831376e2cfb73403a9bba2be23e9c8ce1ec20c3b.tar.bz2
videodev: not possible to register NULL video_device
From: Trent Piepho <xyzzy@speakeasy.org> video_register_device_index() checks if it was passed a NULL video_device pointer (which isn't allowed) _after_ it has already dereferenced it with video_get_drvdata(vdev). The checks are clearly pointless and can be removed, as the function would have crashed before reaching them if vdev ever was NULL. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88.h')
0 files changed, 0 insertions, 0 deletions