From c3e9ac662aa76028783047d069ee95aa6d91a1c2 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 7 Oct 2014 21:36:10 -0500 Subject: [PATCH] hwsim: Cleanup some style issues --- tools/hwsim.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/hwsim.c b/tools/hwsim.c index a94aa83a..891411e7 100644 --- a/tools/hwsim.c +++ b/tools/hwsim.c @@ -78,10 +78,10 @@ static void create_callback(struct l_genl_msg *msg, void *user_data) struct l_genl_attr attr; uint32_t radio_id = 0; - /* Note that the radio id is returned in the error field of + /* + * Note that the radio id is returned in the error field of * the returned message. */ - if (!l_genl_attr_init(&attr, msg)) { int err = l_genl_msg_get_error(msg); if (err < 0) { @@ -122,7 +122,6 @@ static void destroy_callback(struct l_genl_msg *msg, void *user_data) while (l_genl_attr_next(&attr, &type, &len, &data)) { } - done: l_main_quit(); }