3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00

hwsim: Cleanup some style issues

This commit is contained in:
Denis Kenzior 2014-10-07 21:36:10 -05:00
parent 210187fb45
commit c3e9ac662a

View File

@ -78,10 +78,10 @@ static void create_callback(struct l_genl_msg *msg, void *user_data)
struct l_genl_attr attr; struct l_genl_attr attr;
uint32_t radio_id = 0; 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. * the returned message.
*/ */
if (!l_genl_attr_init(&attr, msg)) { if (!l_genl_attr_init(&attr, msg)) {
int err = l_genl_msg_get_error(msg); int err = l_genl_msg_get_error(msg);
if (err < 0) { 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)) { while (l_genl_attr_next(&attr, &type, &len, &data)) {
} }
done: done:
l_main_quit(); l_main_quit();
} }