hwsim: Cleanup some style issues

This commit is contained in:
Denis Kenzior 2014-10-07 21:36:10 -05:00
parent 210187fb45
commit c3e9ac662a
1 changed files with 2 additions and 3 deletions

View File

@ -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();
}