Dan Carpenter 601e6e3cc5 sparc: leon: Fix a retry loop in leon_init_timers()
The original code causes a static checker warning because it has a
continue inside a do { } while (0); loop.  In that context, a continue
and a break are equivalent.  The intent was to go back to the start of
the loop so the continue was a bug.

I've added a retry label at the start and changed the continue to a goto
retry.  Then I removed the do { } while (0) loop and pulled the code in
one indent level.

Fixes: 2791c1a43900 ("SPARC/LEON: added support for selecting Timer Core and Timer within core")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-12-11 18:15:49 -08:00
..
2014-05-18 19:01:30 -07:00
2014-05-18 19:01:29 -07:00
2016-08-07 23:55:43 -04:00
2016-08-07 23:55:43 -04:00
2016-08-07 23:55:43 -04:00
2016-11-18 11:16:59 -08:00
2016-08-07 23:55:43 -04:00
2016-11-18 11:17:00 -08:00
2016-07-27 22:53:17 -07:00
2015-03-19 10:17:22 -05:00
2016-12-11 18:01:51 -08:00
2014-08-26 13:45:55 -04:00
2014-12-14 16:10:09 -08:00
2015-03-19 18:54:49 -07:00
2013-06-13 22:12:14 +01:00
2012-03-28 18:30:03 +01:00
2014-08-26 13:45:55 -04:00
2014-07-21 22:27:56 -07:00
2016-03-20 21:28:58 -07:00
2014-09-30 14:17:08 -07:00