steelseries: simplify loop breaking

This commit is contained in:
Yaroslav Chvanov
2023-05-19 21:52:48 +03:00
parent 6e2550ac51
commit 6fcac8a360

View File

@@ -1023,9 +1023,7 @@ steelseries_write_profile(struct ratbag_profile *profile)
}
/* The same hz is used for all resolutions. Only write once. */
if (resolution->index > 0)
continue;
break;
}
ratbag_profile_for_each_button(profile, button) {