[media] v4l: omap4iss: Remove duplicate video_is_registered() check
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 3 Nov 2013 23:28:24 +0000 (20:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 3 Dec 2013 19:49:26 +0000 (17:49 -0200)
commit2b7f0b641ab125e06db707bee47ddf3f19218cbb
treed43167e7aa32bca96d46c6ac99cfc17f1bd00d32
parentbb4e7d6ea2b1e97348f8ac4be5b9493b70d9d54e
[media] v4l: omap4iss: Remove duplicate video_is_registered() check

The video_unregister_device() function checks if the video device is
registered before proceeding, remote the duplicate check from the
driver.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/omap4iss/iss_video.c