On Wed, Jan 25, 2017 at 08:38:07AM +0100, Hans Verkuil wrote: > Check that the control whose events we want to delete is still there. > > Normally this will always be the case, but I am not 100% certain if there aren't > any corner cases when a device is forcibly unbound. > > In any case, this will satisfy static checkers and simply make it more robust. > > Signed-off-by: Hans Verkuil <hans.verkuil@xxxxxxxxx> > Reported-by: Shaobo <shaobo@xxxxxxxxxxx> Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> -- Sakari Ailus e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html