mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-21 22:09:23 +01:00
hwsim: Cleanup some style issues
This commit is contained in:
parent
210187fb45
commit
c3e9ac662a
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user