We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f69c65 commit 59ea913Copy full SHA for 59ea913
sound/core/seq/seq_ump_client.c
@@ -298,8 +298,7 @@ static void update_group_attrs(struct seq_ump_client *client)
298
}
299
300
list_for_each_entry(fb, &client->ump->block_list, list) {
301
- if (fb->info.first_group < 0 ||
302
- fb->info.first_group + fb->info.num_groups > SNDRV_UMP_MAX_GROUPS)
+ if (fb->info.first_group + fb->info.num_groups > SNDRV_UMP_MAX_GROUPS)
303
break;
304
group = &client->groups[fb->info.first_group];
305
for (i = 0; i < fb->info.num_groups; i++, group++) {
0 commit comments