i2cdetect: use break instead of goto in list_i2c_busses_and_exit()
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 5 Jun 2015 08:27:32 +0000 (10:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 7 Jun 2015 16:05:47 +0000 (18:05 +0200)
commitd90899206dd96b4c18064c18afc3b856382e64d4
tree2b99a2ba4be472e765c091c046009192a6ab4b2d
parentaeb11a949667f82173c733e55e9f762c56a1fcba
i2cdetect: use break instead of goto in list_i2c_busses_and_exit()

Since there are now more statements in the if block after the while loop
in list_i2c_busses_and_exit(), there's no need for a label.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/i2c_tools.c