]> asedeno.scripts.mit.edu Git - linux.git/commit
media: omap3isp: Call video_unregister_device() unconditionally
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 20 Feb 2017 15:22:18 +0000 (10:22 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 29 May 2019 20:39:52 +0000 (16:39 -0400)
commitdd9a00ab9c3e14effc3f34b43e04504d05676fc9
tree571a35ed8f25c75274d4ae6394e12e7d994009bb
parent814434984a5d2063ac15d7ff9a46075600ff1805
media: omap3isp: Call video_unregister_device() unconditionally

video_unregister_device() can be called on a never or an already
unregistered device. Drop the redundant check.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/omap3isp/ispvideo.c