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 044d2ae commit 41ffaa0Copy full SHA for 41ffaa0
mm/mempolicy.c
@@ -3708,15 +3708,13 @@ static void wi_state_free(void)
3708
lockdep_is_held(&wi_state_lock));
3709
if (!old_wi_state) {
3710
mutex_unlock(&wi_state_lock);
3711
- goto out;
+ return;
3712
}
3713
3714
rcu_assign_pointer(wi_state, NULL);
3715
3716
synchronize_rcu();
3717
kfree(old_wi_state);
3718
-out:
3719
- kfree(&wi_group->wi_kobj);
3720
3721
3722
static struct kobj_attribute wi_auto_attr =
0 commit comments