media: stm32-dcmi: drop unnecessary while(1) loop
authorNicholas Mc Guire <hofrat@osadl.org>
Tue, 12 Jun 2018 17:22:17 +0000 (13:22 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 28 Jun 2018 11:48:41 +0000 (07:48 -0400)
commitf8eb8e5c1f31f059677a80e0a902e64065695fa8
treeab16ad7e65fb67bf655704424a77cacff78dba09
parentfdaf59582c037ca5bd23f23ab28c1c5c384c0520
media: stm32-dcmi: drop unnecessary while(1) loop

The while(1) is effectively useless as all possible paths within it
return thus there is no way to loop.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/stm32/stm32-dcmi.c