media: v4l: async: Avoid a goto in loop implementation
authorSakari Ailus <sakari.ailus@linux.intel.com>
Sat, 29 Jul 2023 11:52:14 +0000 (13:52 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 10 Aug 2023 05:58:39 +0000 (07:58 +0200)
commitceee7fb05bad66d3ae295664beb348673681e498
tree19bd9e9c8c50f7652b8571aff738da522ecfc420
parent82bc596df84daa5ff6b3e706a8473801de49e2ee
media: v4l: async: Avoid a goto in loop implementation

Replace a goto-based loop by a while loop.

Suggested-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/v4l2-core/v4l2-async.c