tests: remove unnecessary goto
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 27 Feb 2017 11:46:52 +0000 (12:46 +0100)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 27 Feb 2017 11:46:52 +0000 (12:46 +0100)
commit7e849c3f5c380ab8f71941f996d50831ef53ab3c
treea57b991a231a07d8064f6bff7d7ea6158eb2887a
parent955d35dd5bc901e6de7f0a76e8240362ac793896
tests: remove unnecessary goto

Check all loop conditions in a single if in test_prepare() and remove
the 'cont' label.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/unit/gpiod-unit.c