On Mon, 2021-01-04 at 17:34 -0300, Ezequiel Garcia wrote: > No locking is needed to call video_unregister_device(). Drop it. > > Also, drop the superfluous video_is_registered() call, which is > done by video_unregister_device(), and re-order media_entity_cleanup() > and video_unregister_device() calls. > > Signed-off-by: Ezequiel Garcia <ezequiel@xxxxxxxxxxxxx> Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx> regards Philipp